Skip to content

Commit ba117e4

Browse files
added lab 5
1 parent 88d82a6 commit ba117e4

4 files changed

Lines changed: 8 additions & 287 deletions

File tree

labs/lab05.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 5 - Custom actions
1+
# 5 - Holistic Compliance View with DevOps Shield UI
22
In 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+
```
1518
2. Edit the file and copy the following YAML content at the end of the file:
1619
```YAML
1720
apply-label:

labs/lab06.md

Lines changed: 0 additions & 50 deletions
This file was deleted.

labs/lab07.md

Lines changed: 0 additions & 230 deletions
This file was deleted.

labs/setup.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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
```
3230
7. Fetch upstream to get the latest changes from the upstream repository

0 commit comments

Comments
 (0)