Other Threat Modeling Containers
Asset Table
- Preview
- Usage
- Definition
import { AssetTable } from '@dinghy/diagrams/containersThreatModeling'
<AssetTable/>
// or
import { extendStyle } from "@dinghy/base-components";
import { ASSET_TABLE } from '@dinghy/diagrams/containersThreatModeling'
<Shape
{...props}
_style={extendStyle(props, ASSET_TABLE)}
/>
{
_style: {
container: 'shape=table;startSize=30;container=1;collapsible=0;childLayout=tableLayout;fillColor=#fff2cc;strokeColor=#d6b656;fontStyle=1;shadow=1;swimlaneFillColor=#FFFFFF;fontColor=#000000;whiteSpace=wrap;html=1;',
entity:{
strokeColor:'#d6b656',fillColor:'#fff2cc',fontColor:'#000000',},
},
}
Security Control Table
- Preview
- Usage
- Definition
import { SecurityControlTable } from '@dinghy/diagrams/containersThreatModeling'
<SecurityControlTable/>
// or
import { extendStyle } from "@dinghy/base-components";
import { SECURITY_CONTROL_TABLE } from '@dinghy/diagrams/containersThreatModeling'
<Shape
{...props}
_style={extendStyle(props, SECURITY_CONTROL_TABLE)}
/>
{
_style: {
container: 'shape=table;startSize=30;container=1;collapsible=0;childLayout=tableLayout;fillColor=#d5e8d4;strokeColor=#82b366;fontStyle=1;swimlaneFillColor=#FFFFFF;fontColor=#000000;whiteSpace=wrap;html=1;',
entity:{
strokeColor:'#82b366',fillColor:'#d5e8d4',fontColor:'#000000',},
},
}
Threat Actor Table
- Preview
- Usage
- Definition
import { ThreatActorTable } from '@dinghy/diagrams/containersThreatModeling'
<ThreatActorTable/>
// or
import { extendStyle } from "@dinghy/base-components";
import { THREAT_ACTOR_TABLE } from '@dinghy/diagrams/containersThreatModeling'
<Shape
{...props}
_style={extendStyle(props, THREAT_ACTOR_TABLE)}
/>
{
_style: {
container: 'shape=table;startSize=30;container=1;collapsible=0;childLayout=tableLayout;fillColor=#F8CECC;strokeColor=#B85450;fontStyle=1;shadow=1;swimlaneFillColor=#FFFFFF;fontColor=#000000;whiteSpace=wrap;html=1;',
entity:{
strokeColor:'#B85450',fillColor:'#F8CECC',fontColor:'#000000',},
},
}