You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/promote-scorecards/examples.md
+14-8Lines changed: 14 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -179,7 +179,7 @@ If the property is not yet included in your `Snyk Vulnerability` blueprint, foll
179
179
180
180
2. Click on the `Snyk Vulnerability` blueprint.
181
181
182
-
3. Click on the `...` button in the top right corner, choose `Edit blueprint`, then click on the `{...} Edit JSON` button.
182
+
3. Click on the `...` button in the top right corner, then click on the `{...} Edit JSON` button.
183
183
184
184
4. Update the existing JSON by incorporating the following data in it, then click `Save`.
185
185
@@ -219,7 +219,8 @@ If the property is not yet included in your `Snyk Vulnerability` blueprint, foll
219
219
220
220
<h3>Snyk Target</h3>
221
221
222
-
With the addition of the `CWE` property to the `Snyk Vulnerability` blueprint, you can now classify vulnerabilities by CWE and align them with the [OWASP Top 10](http://owasp.org/Top10) categories.
222
+
With the addition of the `CWE` property to the `Snyk Vulnerability` blueprint, you can now classify vulnerabilities by CWE and align them with the [OWASP Top 10](http://owasp.org/Top10) categories.
223
+
223
224
Update the `Snyk Target` blueprint to include 10 dedicated properties, one for each OWASP Top 10 code category, so issues can be grouped and reported by category.
224
225
225
226
To update the `Snyk Target` blueprint:
@@ -228,9 +229,9 @@ To update the `Snyk Target` blueprint:
228
229
229
230
2. Click on the `Snyk Target` blueprint.
230
231
231
-
3. Click on the `...` button in the top right corner, choose `Edit blueprint`, then click on the `{...} Edit JSON` button.
232
+
3. Click on the `...` button in the top right corner, then click on the `{...} Edit JSON` button.
232
233
233
-
4. Update the existing JSON by incorporating the following data in it, then click `Save`.
234
+
4. Update the aggregation properties to include the snippet JSON snippet below:
234
235
235
236
<details>
236
237
<summary><b>Snyk Target blueprint (click to expand)</b></summary>
@@ -738,22 +739,25 @@ To update the `Snyk Target` blueprint:
738
739
```
739
740
</details>
740
741
742
+
5. Click on `Save` to update the blueprint.
743
+
741
744
<h3>Repository</h3>
742
745
743
746
The `Snyk Target` blueprint should have a defined relation with the `GitHub Repository` blueprint.
744
-
If your current model does not include a relation from the `Repository` blueprint to the `Snyk Target` blueprint, add it.
747
+
If your current model does not include a relation from the `Repository` blueprint to the `Snyk Target` blueprint, add it.
745
748
746
-
The next step is to add the OWASP identifiers as mirrored properties to the `GitHub Repository` blueprint, and update the mapping configuration so that each `GitHub Repository` is automatically linked to its corresponding `Snyk Target`. This link is what allows the mirrored OWASP properties to pull their values from the related Snyk data.
749
+
The next step is to add the OWASP identifiers as mirrored properties to the `GitHub Repository` blueprint, and update the mapping configuration so that each `GitHub Repository` is automatically linked to its corresponding `Snyk Target`.
750
+
This link is what allows the mirrored OWASP properties to pull their values from the related Snyk data.
747
751
748
752
**Update the `GitHub Repository` blueprint:**
749
753
750
754
1. Navigate to the [Data model](https://app.getport.io/settings/data-model) page of your portal.
751
755
752
756
2. Click on the `GitHub Repository` blueprint.
753
757
754
-
3. Click on the `...` button in the top right corner, choose `Edit blueprint`, then click on the `{...} Edit JSON` button.
758
+
3. Click on the `...` button in the top right corner, then click on the `{...} Edit JSON` button.
755
759
756
-
4. Update the existing JSON by incorporating the following data in it, then click `Save`.
760
+
4. Update the mirrorProperties to include the snippet below:
757
761
758
762
<details>
759
763
<summary><b>GitHub Repository Blueprint (click to expand)</b></summary>
@@ -806,6 +810,8 @@ The next step is to add the OWASP identifiers as mirrored properties to the `Git
806
810
```
807
811
</details>
808
812
813
+
5. Click on `Save` to update the blueprint.
814
+
809
815
**Update the mapping configuration:**
810
816
811
817
1. Head over to your [Data sources](https://app.port.io/settings/data-sources) page.
0 commit comments