Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Acceptance ¶
type Acceptance struct { Threat string `json:"threat"` Component string `json:"component"` Details string `json:"details"` Description string `json:"description"` Custom struct{} `json:"custom"` Source struct { Annotation string `json:"annotation"` Code string `json:"code"` Filename string `json:"filename"` Line int `json:"line"` } `json:"source"` }
type Connection ¶
type Connection struct { SourceComponent string `json:"source_component"` DestinationComponent string `json:"destination_component"` Direction string `json:"direction"` Details string `json:"details"` Description string `json:"description"` Custom struct{} `json:"custom"` Source struct { Annotation string `json:"annotation"` Code string `json:"code"` Filename string `json:"filename"` Line int `json:"line"` } `json:"source"` }
type Exposure ¶
type Exposure struct { Threat string `json:"threat"` Component string `json:"component"` Details string `json:"details"` Description string `json:"description"` Custom struct{} `json:"custom"` Source struct { Annotation string `json:"annotation"` Code string `json:"code"` Filename string `json:"filename"` Line int `json:"line"` } `json:"source"` }
type Library ¶
type Library struct { Components map[string]Component Controls map[string]Control Threats map[string]Threat ThreatModel Threatmodel }
type Mitigate ¶
type Mitigate struct { Control string `json:"control"` Threat string `json:"threat"` Component string `json:"component"` Description string `json:"description"` Custom struct{} `json:"custom"` Source struct { Annotation string `json:"annotation"` Code string `json:"code"` Filename string `json:"filename"` Line int `json:"line"` } `json:"source"` }
type Review ¶
type Review struct { Component string `json:"component"` Details string `json:"details"` Description string `json:"description"` Custom struct{} `json:"custom"` Source struct { Annotation string `json:"annotation"` Code string `json:"code"` Filename string `json:"filename"` Line int `json:"line"` } `json:"source"` }
type Test ¶
type Test struct { Component string `json:"component"` Control string `json:"control"` Description string `json:"description"` Custom struct{} `json:"custom"` Source struct { Annotation string `json:"annotation"` Code string `json:"code"` Filename string `json:"filename"` Line int `json:"line"` } `json:"source"` }
type Threatmodel ¶
type Threatmodel struct { Mitigations []Mitigate `json:"mitigations"` Exposures []Exposure `json:"exposures"` Transfers []Transfer `json:"transfers"` Acceptances []Acceptance `json:"acceptances"` Connections []Connection `json:"connections"` Reviews []Review `json:"reviews"` Tests []Test `json:"tests"` RunId string `json:"run_id"` }
type Transfer ¶
type Transfer struct { Threat string `json:"threat"` SourceComponent string `json:"source_component"` DestinationComponent string `json:"destination_component"` Details string `json:"details"` Description string `json:"description"` Custom struct{} `json:"custom"` Source struct { Annotation string `json:"annotation"` Code string `json:"code"` Filename string `json:"filename"` Line int `json:"line"` } `json:"source"` }
Click to show internal directories.
Click to hide internal directories.