Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
hupe1980 committed Jun 29, 2022
1 parent c1ef883 commit a016c96
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -2020,7 +2020,7 @@ Any object.
| <code><a href="#cdktg.RiskCategory.property.description">description</a></code> | <code>string</code> | *No description.* |
| <code><a href="#cdktg.RiskCategory.property.action">action</a></code> | <code>string</code> | *No description.* |
| <code><a href="#cdktg.RiskCategory.property.asvs">asvs</a></code> | <code>string</code> | *No description.* |
| <code><a href="#cdktg.RiskCategory.property.cheatSheat">cheatSheat</a></code> | <code>string</code> | *No description.* |
| <code><a href="#cdktg.RiskCategory.property.cheatSheet">cheatSheet</a></code> | <code>string</code> | *No description.* |
| <code><a href="#cdktg.RiskCategory.property.check">check</a></code> | <code>string</code> | *No description.* |
| <code><a href="#cdktg.RiskCategory.property.cwe">cwe</a></code> | <code>number</code> | *No description.* |
| <code><a href="#cdktg.RiskCategory.property.detectionLogic">detectionLogic</a></code> | <code>string</code> | *No description.* |
Expand Down Expand Up @@ -2086,10 +2086,10 @@ public readonly asvs: string;

---

##### `cheatSheat`<sup>Required</sup> <a name="cheatSheat" id="cdktg.RiskCategory.property.cheatSheat"></a>
##### `cheatSheet`<sup>Required</sup> <a name="cheatSheet" id="cdktg.RiskCategory.property.cheatSheet"></a>

```typescript
public readonly cheatSheat: string;
public readonly cheatSheet: string;
```

- *Type:* string
Expand Down Expand Up @@ -4723,7 +4723,7 @@ const riskCategoryProps: RiskCategoryProps = { ... }
| <code><a href="#cdktg.RiskCategoryProps.property.description">description</a></code> | <code>string</code> | *No description.* |
| <code><a href="#cdktg.RiskCategoryProps.property.action">action</a></code> | <code>string</code> | *No description.* |
| <code><a href="#cdktg.RiskCategoryProps.property.asvs">asvs</a></code> | <code>string</code> | *No description.* |
| <code><a href="#cdktg.RiskCategoryProps.property.cheatSheat">cheatSheat</a></code> | <code>string</code> | *No description.* |
| <code><a href="#cdktg.RiskCategoryProps.property.cheatSheet">cheatSheet</a></code> | <code>string</code> | *No description.* |
| <code><a href="#cdktg.RiskCategoryProps.property.check">check</a></code> | <code>string</code> | *No description.* |
| <code><a href="#cdktg.RiskCategoryProps.property.cwe">cwe</a></code> | <code>number</code> | *No description.* |
| <code><a href="#cdktg.RiskCategoryProps.property.detectionLogic">detectionLogic</a></code> | <code>string</code> | *No description.* |
Expand Down Expand Up @@ -4767,10 +4767,10 @@ public readonly asvs: string;

---

##### `cheatSheat`<sup>Required</sup> <a name="cheatSheat" id="cdktg.RiskCategoryProps.property.cheatSheat"></a>
##### `cheatSheet`<sup>Required</sup> <a name="cheatSheet" id="cdktg.RiskCategoryProps.property.cheatSheet"></a>

```typescript
public readonly cheatSheat: string;
public readonly cheatSheet: string;
```

- *Type:* string
Expand Down
8 changes: 4 additions & 4 deletions src/risk-category.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class Risk {
export interface RiskCategoryProps extends ResourceProps {
readonly impact: string;
readonly asvs: string;
readonly cheatSheat: string;
readonly cheatSheet: string;
readonly action: string;
readonly mitigation: string;
readonly check: string;
Expand All @@ -94,7 +94,7 @@ export interface RiskCategoryProps extends ResourceProps {
export class RiskCategory extends Resource {
public readonly impact: string;
public readonly asvs: string;
public readonly cheatSheat: string;
public readonly cheatSheet: string;
public readonly action: string;
public readonly mitigation: string;
public readonly check: string;
Expand All @@ -113,7 +113,7 @@ export class RiskCategory extends Resource {

this.impact = props.impact;
this.asvs = props.asvs;
this.cheatSheat = props.cheatSheat;
this.cheatSheet = props.cheatSheet;
this.action = props.action;
this.mitigation = props.mitigation;
this.check = props.check;
Expand Down Expand Up @@ -182,7 +182,7 @@ export class RiskCategory extends Resource {
description: this.description,
impact: this.impact,
asvs: this.asvs,
cheat_sheet: this.cheatSheat,
cheat_sheet: this.cheatSheet,
action: this.action,
mitigation: this.mitigation,
check: this.check,
Expand Down
2 changes: 1 addition & 1 deletion src/technical-asset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export class TechnicalAsset extends Resource {
encryption: this.encryption,
owner: this.owner,
...this.ciaTriad._toThreagile(),
multitenant: this.multiTenant,
multi_tenant: this.multiTenant,
redundant: this.redundant,
custom_developed_parts: this.customDevelopedParts,
data_assets_processed: Array.from(this.dataAssetsProcessed).map(
Expand Down
2 changes: 1 addition & 1 deletion test/project.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ test("synth the model stub example", () => {
description: "Some text describing the risk category...",
impact: "Some text describing the impact...",
asvs: "V0 - Something Strange",
cheatSheat: "https://example.com",
cheatSheet: "https://example.com",
action: "Some text describing the action...",
mitigation: "Some text describing the mitigation...",
check: "Check if XYZ...",
Expand Down

0 comments on commit a016c96

Please sign in to comment.