Skip to content

Commit bfe95cc

Browse files
Add light edge definitions to risk:compromise and it:prod:soft (#4198)
Co-authored-by: invisig0th <[email protected]>
1 parent dd1368d commit bfe95cc

File tree

4 files changed

+15
-0
lines changed

4 files changed

+15
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
desc: Added a ``targets`` light edge between ``risk:compromise`` and ``ou:industry``
3+
forms.
4+
prs: []
5+
type: model
6+
...
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
desc: Added a ``uses`` light edge between ``it:prod:soft`` and ``risk:vuln`` forms.
3+
prs: []
4+
type: model
5+
...

synapse/models/infotech.py

+2
Original file line numberDiff line numberDiff line change
@@ -1101,6 +1101,8 @@ def getModelDefs(self):
11011101
'edges': (
11021102
(('it:prod:soft', 'uses', 'ou:technique'), {
11031103
'doc': 'The software uses the technique.'}),
1104+
(('it:prod:soft', 'uses', 'risk:vuln'), {
1105+
'doc': 'The software uses the vulnerability.'}),
11041106
(('it:exec:query', 'found', None), {
11051107
'doc': 'The target node was returned as a result of running the query.'}),
11061108
(('it:app:snort:rule', 'detects', None), {

synapse/models/risk.py

+2
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,8 @@ def getModelDefs(self):
211211

212212
(('risk:attack', 'targets', 'ou:industry'), {
213213
'doc': 'The attack targeted the industry.'}),
214+
(('risk:compromise', 'targets', 'ou:industry'), {
215+
'doc': "The compromise was assessed to be based on the victim's role in the industry."}),
214216
(('risk:threat', 'targets', 'ou:industry'), {
215217
'doc': 'The threat cluster targets the industry.'}),
216218

0 commit comments

Comments
 (0)