Skip to content

Commit ce60920

Browse files
committed
fixed jit
1 parent 8121c3f commit ce60920

File tree

5 files changed

+27
-17
lines changed

5 files changed

+27
-17
lines changed

docs/automations/integrations/jit/label-jit-alerts/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ description: Automatically label PRs with Jit findings.
44
category: [security, jit]
55
---
66
# Label Jit Alerts
7+
<!-- --8<-- [start:example]-->
8+
79
Label the number of high, medium, and low risk vulnerabilities Jit reports for PRs.
810

911
<div class="automationImage" markdown="1">
@@ -30,3 +32,4 @@ Label the number of high, medium, and low risk vulnerabilities Jit reports for P
3032
</span>
3133
</div>
3234
</div>
35+
<!-- --8<-- [end:example]-->

docs/automations/integrations/jit/review-jit-alerts/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ description: Automatically assign PR reviewers for Jit security alerts.
44
category: [security, jit]
55
---
66
# Review Jit Security Alerts
7+
<!-- --8<-- [start:example]-->
78
Manage review assignment for high and medium risk Jit security alerts.
89

910
<div class="automationImage" markdown="1">
@@ -40,3 +41,4 @@ Manage review assignment for high and medium risk Jit security alerts.
4041
</span>
4142
</div>
4243
</div>
44+
<!-- --8<-- [end:example]-->

docs/automations/integrations/jit/review-jit-ignore-accept/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ description: Automatically notify your security team when someone ignores Jit vu
44
category: [security, jit]
55
---
66
# Review Jit Ignore and Accept
7+
<!-- --8<-- [start:example]-->
78
Notify your Security team when someone ignores a Jit vulnerability report and accepts the risk.
89

910
<div class="automationImage" markdown="1">
@@ -33,3 +34,4 @@ Notify your Security team when someone ignores a Jit vulnerability report and ac
3334
</span>
3435
</div>
3536
</div>
37+
<!-- --8<-- [end:example]-->

docs/automations/integrations/jit/review-jit-secret/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ description: Automatically block PRs that contain secrets.
44
category: [security, jit]
55
---
66
# Review Jit Secret Detection
7+
<!-- --8<-- [start:example]-->
78
Close PRs where Jit detects a secret and post a comment explaining steps to remedy the situation.
89

910
<div class="automationImage" markdown="1">
@@ -32,3 +33,4 @@ Close PRs where Jit detects a secret and post a comment explaining steps to reme
3233
</span>
3334
</div>
3435
</div>
36+
<!-- --8<-- [end:example]-->

docs/integrations/jit.md

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,26 @@ description: Implement workflow automations for Jit security reviews.
77
!!! Success "Included with gitStream Core Functionality"
88
This integration is part of gitStream core functionality, and requires no additional configuration.
99

10-
Jit Examples:
10+
## Automation Examples
1111

12-
* [Review Jit Alerts](#review-jit-alerts)
13-
* [Review Jit Secret Detections](#review-jit-secret)
14-
* [Label Jit Alerts](#label-jit-alerts)
15-
* [Review Jit Ignore and Accept Risk](#review-jit-ignore-accept)
12+
### Review Jit Security Alerts
1613

17-
<a name="review-jit-alerts"></a>
18-
## Review Jit Security Alerts
19-
--8<-- "docs/automations/integrations/jit/review-jit-alerts/README.md:6:"
14+
--8<-- "docs/automations/integrations/jit/review-jit-alerts/README.md:example"
2015

21-
<a name="review-jit-secret"></a>
22-
## Review Jit Secret Detection
23-
--8<-- "docs/automations/integrations/jit/review-jit-secret/README.md:6:"
16+
### Review Jit Secret Detection
2417

25-
<a name="label-jit-alerts"></a>
26-
## Label Jit Alerts
27-
--8<-- "docs/automations/integrations/jit/label-jit-alerts/README.md:6:"
18+
--8<-- "docs/automations/integrations/jit/review-jit-secret/README.md:example"
2819

29-
<a name="review-jit-ignore-accept"></a>
30-
## Review Jit Ignore and Accept
31-
--8<-- "docs/automations/integrations/jit/review-jit-ignore-accept/README.md:6:"
20+
### Label Jit Alerts
21+
22+
--8<-- "docs/automations/integrations/jit/label-jit-alerts/README.md:example"
23+
24+
### Review Jit Ignore and Accept
25+
26+
--8<-- "docs/automations/integrations/jit/review-jit-ignore-accept/README.md:example"
27+
28+
## Additional Resources
29+
30+
--8<-- "docs/snippets/general.md"
31+
32+
--8<-- "docs/snippets/automation-footer.md"

0 commit comments

Comments
 (0)