File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # 5 - Custom actions
1+ # 5 - Holistic Compliance View with DevOps Shield UI
22In this lab you will create and use custom actions.
33> Duration: 15-20 minutes
44
@@ -9,9 +9,12 @@ References:
99- [ GitHub Actions Toolkit] ( https://github.com/actions/toolkit )
1010- [ actions/github-script] ( https://github.com/actions/github-script )
1111
12- ## 5.1 Use the github-script action to apply a label to an issue
12+ ## 5.1 Run the Docker Container of DevOps Shield
1313
14- 1 . Open the workflow file [ github-script.yml] ( /.github/workflows/github-script.yml )
14+ 1 . As per [ DevOps Shield on DockerHub] ( https://hub.docker.com/r/devopsshield/devopsshield )
15+ ```
16+ docker run -d -p 8080:8080 devopsshield/devopsshield
17+ ```
15182 . Edit the file and copy the following YAML content at the end of the file:
1619``` YAML
1720 apply-label :
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -24,9 +24,7 @@ References:
2424- [ ] Module 1: Introduction to Defect Dojo
2525- [ ] Module 2: Explore Your Kubernetes Cluster
2626- [ ] Module 3: Running the Basic and Advanced DevSecOps Pipelines
27- - [ ] Module 4: Workflow Templates
28- - [ ] Module 5: Custom actions
29- - [ ] Module 6: Self-hosted runners
30- - [ ] Module 7: CI/CD
27+ - [ ] Module 4: Adding Additional DevSecOps Controls
28+ - [ ] Module 5: Holistic Compliance View with DevOps Shield UI
3129```
32307 . Fetch upstream to get the latest changes from the upstream repository
You can’t perform that action at this time.
0 commit comments