Skip to content

Commit be49de8

Browse files
authored
DT-2166 - add trivy image scanning job (#47)
* DT-2166 - add trivy image scanning job * Add slack channel parameters
1 parent b3d8701 commit be49de8

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.circleci/config.yml

+18-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
version: 2.1
22

33
orbs:
4-
hmpps: ministryofjustice/hmpps@3.2
4+
hmpps: ministryofjustice/hmpps@3.5
5+
6+
parameters:
7+
alerts-slack-channel:
8+
type: string
9+
default: dps_alerts_security
10+
releases-slack-channel:
11+
type: string
12+
default: dps-releases
513

614
jobs:
715
validate:
@@ -72,7 +80,9 @@ workflows:
7280
# - hmpps/deploy_env:
7381
# name: deploy_prod
7482
# env: "prod"
83+
# show_changelog: true
7584
# slack_notification: true
85+
# slack_channel_name: << pipeline.parameters.releases-slack-channel >>
7686
# context:
7787
# - hmpps-common-vars
7888
# - hmpps-template-kotlin-prod
@@ -89,11 +99,17 @@ workflows:
8999
- main
90100
jobs:
91101
- hmpps/gradle_owasp_dependency_check:
102+
slack_channel: << pipeline.parameters.alerts-slack-channel >>
92103
context:
93104
- hmpps-common-vars
94-
- hmpps/veracode_policy_scan:
105+
- hmpps/trivy_latest_scan:
106+
slack_channel: << pipeline.parameters.alerts-slack-channel >>
95107
context:
96108
- hmpps-common-vars
109+
- hmpps/veracode_policy_scan:
110+
slack_channel: << pipeline.parameters.alerts-slack-channel >>
111+
context:
97112
- veracode-credentials
113+
- hmpps-common-vars
98114

99115

0 commit comments

Comments
 (0)