Skip to content

Commit 8463602

Browse files
committed
fix CR comments
1 parent 477d165 commit 8463602

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

docs/promote-scorecards/examples.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ If the property is not yet included in your `Snyk Vulnerability` blueprint, foll
179179

180180
2. Click on the `Snyk Vulnerability` blueprint.
181181

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.
183183

184184
4. Update the existing JSON by incorporating the following data in it, then click `Save`.
185185

@@ -219,7 +219,8 @@ If the property is not yet included in your `Snyk Vulnerability` blueprint, foll
219219

220220
<h3>Snyk Target</h3>
221221

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+
223224
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.
224225

225226
To update the `Snyk Target` blueprint:
@@ -228,9 +229,9 @@ To update the `Snyk Target` blueprint:
228229

229230
2. Click on the `Snyk Target` blueprint.
230231

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.
232233

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:
234235

235236
<details>
236237
<summary><b>Snyk Target blueprint (click to expand)</b></summary>
@@ -738,22 +739,25 @@ To update the `Snyk Target` blueprint:
738739
```
739740
</details>
740741

742+
5. Click on `Save` to update the blueprint.
743+
741744
<h3>Repository</h3>
742745

743746
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.
745748

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.
747751

748752
**Update the `GitHub Repository` blueprint:**
749753

750754
1. Navigate to the [Data model](https://app.getport.io/settings/data-model) page of your portal.
751755

752756
2. Click on the `GitHub Repository` blueprint.
753757

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.
755759

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:
757761

758762
<details>
759763
<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
806810
```
807811
</details>
808812

813+
5. Click on `Save` to update the blueprint.
814+
809815
**Update the mapping configuration:**
810816

811817
1. Head over to your [Data sources](https://app.port.io/settings/data-sources) page.

0 commit comments

Comments
 (0)