Skip to content

Commit 6afc73d

Browse files
authored
Merge pull request #3008 from port-labs/PORT-16683-bug-build-an-owasp-dashboard-produces-broken-dashboard-because-mappings-are-wrong
Fixed broken dashboard for OWASP guide
2 parents 108136f + 8791443 commit 6afc73d

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

docs/guides/all/owasp-top-10-scorecard.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,18 @@ If the property is not yet included in your `Snyk Vulnerability` blueprint, foll
6969
```yaml showLineNumbers
7070
resources:
7171
- kind: vulnerability
72+
selector:
73+
query: 'true'
7274
port:
7375
entity:
7476
mappings:
75-
//highlight-start
76-
cwe: .attributes.classes[0].id
77-
//highlight-end
77+
identifier: .id
78+
title: .attributes.title
79+
blueprint: '"snykVulnerability"'
80+
properties:
81+
# highlight-start
82+
category: .attributes.classes[0].id
83+
# highlight-end
7884
```
7985
</details>
8086

0 commit comments

Comments
 (0)