diff --git a/API.md b/API.md index a122d34..9d46d37 100644 --- a/API.md +++ b/API.md @@ -2020,7 +2020,7 @@ Any object. | description | string | *No description.* | | action | string | *No description.* | | asvs | string | *No description.* | -| cheatSheat | string | *No description.* | +| cheatSheet | string | *No description.* | | check | string | *No description.* | | cwe | number | *No description.* | | detectionLogic | string | *No description.* | @@ -2086,10 +2086,10 @@ public readonly asvs: string; --- -##### `cheatSheat`Required +##### `cheatSheet`Required ```typescript -public readonly cheatSheat: string; +public readonly cheatSheet: string; ``` - *Type:* string @@ -4723,7 +4723,7 @@ const riskCategoryProps: RiskCategoryProps = { ... } | description | string | *No description.* | | action | string | *No description.* | | asvs | string | *No description.* | -| cheatSheat | string | *No description.* | +| cheatSheet | string | *No description.* | | check | string | *No description.* | | cwe | number | *No description.* | | detectionLogic | string | *No description.* | @@ -4767,10 +4767,10 @@ public readonly asvs: string; --- -##### `cheatSheat`Required +##### `cheatSheet`Required ```typescript -public readonly cheatSheat: string; +public readonly cheatSheet: string; ``` - *Type:* string diff --git a/src/risk-category.ts b/src/risk-category.ts index fbe70ba..2c4d5c7 100644 --- a/src/risk-category.ts +++ b/src/risk-category.ts @@ -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; @@ -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; @@ -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; @@ -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, diff --git a/src/technical-asset.ts b/src/technical-asset.ts index 3ac9a7c..4554e5c 100644 --- a/src/technical-asset.ts +++ b/src/technical-asset.ts @@ -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( diff --git a/test/project.test.ts b/test/project.test.ts index 6c9d23c..748aa5e 100644 --- a/test/project.test.ts +++ b/test/project.test.ts @@ -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...",