Skip to content

Commit f011423

Browse files
Added threat origin
Signed-off-by: Steve Springett <steve@springett.us>
1 parent 6735876 commit f011423

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

schema/2.0/model/cyclonedx-threat-2.0.schema.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,49 @@
162162
"title": "Source",
163163
"description": "The source of the threat, such as a threat intelligence feed, a threat catalogue, or an analysis activity."
164164
},
165+
"origin": {
166+
"title": "Origin",
167+
"description": "The nature of the threat source that gives rise to this threat, following the threat source types of [NIST SP 800-30](https://csrc.nist.gov/pubs/sp/800/30/r1/final). Use the custom option for an origin not covered by the enumeration.",
168+
"oneOf": [
169+
{
170+
"type": "string",
171+
"title": "Predefined Origin",
172+
"enum": [
173+
"adversarial",
174+
"accidental",
175+
"structural",
176+
"environmental"
177+
],
178+
"meta:enum": {
179+
"adversarial": "An adversary acting with intent, such as an individual, group, organization, or nation state.",
180+
"accidental": "An erroneous action taken without malicious intent, such as a mistake by a privileged user or administrator.",
181+
"structural": "A failure of equipment, software, or environmental controls, such as resource exhaustion or expiry of a component.",
182+
"environmental": "A natural or human-made event outside the control of the organization, such as a fire, flood, or wide-area infrastructure outage."
183+
}
184+
},
185+
{
186+
"type": "object",
187+
"title": "Custom Origin",
188+
"required": [
189+
"name"
190+
],
191+
"additionalProperties": false,
192+
"properties": {
193+
"name": {
194+
"type": "string",
195+
"minLength": 1,
196+
"title": "Name",
197+
"description": "The name of the custom origin."
198+
},
199+
"description": {
200+
"type": "string",
201+
"title": "Description",
202+
"description": "A description of the custom origin."
203+
}
204+
}
205+
}
206+
]
207+
},
165208
"categories": {
166209
"type": "array",
167210
"title": "Categories",

0 commit comments

Comments
 (0)