Skip to content

Commit

Permalink
tidy up the text and prepare to tag 0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
james-jdgtl committed Sep 10, 2024
1 parent 4573a0b commit c7e6bcc
Show file tree
Hide file tree
Showing 16 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .github/actions/security_owasp_reports/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ runs:
with:
name: gradle-owasp-dependency-check-${{ github.event.repository.name }}
path: build/reports/dependency-check-report.html
- uses: ministryofjustice/hmpps-github-actions/.github/actions/slack_codescan_notification@main # WORKFLOW_VERSION
- uses: ministryofjustice/hmpps-github-actions/.github/actions/slack_codescan_notification"0.1 # WORKFLOW_VERSION
with:
channel_id: ${{ inputs.channel_id}}
title: "OWASP issues identified"
title: "OWASP issues"
SLACK_BOT_TOKEN: ${{ inputs.SLACK_BOT_TOKEN }}
2 changes: 1 addition & 1 deletion .github/actions/security_trivy_reports/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ runs:
with:
sarif_file: 'trivy-results.sarif'
category: trivy-dependency-check
- uses: ministryofjustice/hmpps-github-actions/.github/actions/slack_codescan_notification@main # WORKFLOW_VERSION
- uses: ministryofjustice/hmpps-github-actions/.github/actions/slack_codescan_notification"0.1 # WORKFLOW_VERSION
with:
channel_id: ${{ inputs.channel_id}}
title: "Trivy issues identified"
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/slack_codescan_notification/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ runs:
with:
channel-id: ${{ inputs.channel_id}}
payload: |
{ "text": "${{ inputs.title }} - issues identified",
{ "text": "*${{ inputs.title }}* - issues identified",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": ":warning: Github Actions ${{ inputs.title }} ran and identified issues"
"text": ":warning: Github Workflow ${{ github.workflow }} ran and identified issues"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/slack_failure_results/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ runs:
using: "composite"
steps:
- name: process slack message results # returns SLACK_TXT
uses: ministryofjustice/hmpps-github-actions/.github/actions/slack_prepare_results@main # WORKFLOW_VERSION
uses: ministryofjustice/hmpps-github-actions/.github/actions/slack_prepare_results"0.1 # WORKFLOW_VERSION
id: slack_message_result
with:
input_file: ${{ inputs.input_file }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security_npm_dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
id: npm
run: npx audit-ci@^7 --config ./audit-ci.json -o json > npm-security-check-reports.json
continue-on-error: true
- uses: ministryofjustice/hmpps-github-actions/.github/actions/security_npm_dependency@main # WORKFLOW_VERSION
- uses: ministryofjustice/hmpps-github-actions/.github/actions/security_npm_dependency"0.1 # WORKFLOW_VERSION
if: success() || steps.npm.conclusion == 'failure'
with:
channel_id: ${{ inputs.channel_id }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security_npm_outdated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
id: npm
run: npm outdated ${{ inputs.dependencies_to_check }} > npm-outdated-reports.txt
continue-on-error: true
- uses: ministryofjustice/hmpps-github-actions/.github/actions/security_npm_outdated@main # WORKFLOW_VERSION
- uses: ministryofjustice/hmpps-github-actions/.github/actions/security_npm_outdated"0.1 # WORKFLOW_VERSION
if: success() || steps.npm.conclusion == 'failure'
with:
channel_id: ${{ inputs.channel_id }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security_owasp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
id: owasp-analyse
run: ./gradlew dependencyCheckAnalyze --info

- uses: ministryofjustice/hmpps-github-actions/.github/actions/security_owasp_reports@main # WORKFLOW_VERSION
- uses: ministryofjustice/hmpps-github-actions/.github/actions/security_owasp_reports"0.1 # WORKFLOW_VERSION
if: success() || steps.owasp-analyse.conclusion == 'failure'
with:
channel_id: ${{ inputs.channel_id }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security_trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
output: 'trivy-results.sarif'
# exit-code: 1
limit-severities-for-sarif: true
- uses: ministryofjustice/hmpps-github-actions/.github/actions/security_trivy_reports@main # WORKFLOW_VERSION
- uses: ministryofjustice/hmpps-github-actions/.github/actions/security_trivy_reports"0.1 # WORKFLOW_VERSION
if: success() || steps.trivy.conclusion == 'failure'
with:
channel_id: ${{ inputs.channel_id}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/security_veracode_pipeline_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
java-version: '21'
distribution: 'temurin'
- name: prepare assets
uses: ministryofjustice/hmpps-github-actions/.github/actions/security_veracode_prepare_artifacts@main # WORKFLOW_VERSION
uses: ministryofjustice/hmpps-github-actions/.github/actions/security_veracode_prepare_artifacts"0.1 # WORKFLOW_VERSION
- name: "Download/Extract pipeline scanner"
shell: bash
run: |
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
path: results.txt
- name: send a failure slack message
if: failure()
uses: ministryofjustice/hmpps-github-actions/.github/actions/slack_failure_results@main # WORKFLOW_VERSION
uses: ministryofjustice/hmpps-github-actions/.github/actions/slack_failure_results"0.1 # WORKFLOW_VERSION
with:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
channel_id: ${{ inputs.channel_id }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/security_veracode_policy_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
java-version: '21'
distribution: 'temurin'
- name: prepare assets
uses: ministryofjustice/hmpps-github-actions/.github/actions/security_veracode_prepare_artifacts@main # WORKFLOW_VERSION
uses: ministryofjustice/hmpps-github-actions/.github/actions/security_veracode_prepare_artifacts"0.1 # WORKFLOW_VERSION
- name: "Download/Extract veracode agent"
run: wget https://repo1.maven.org/maven2/com/veracode/vosp/api/wrappers/vosp-api-wrappers-java/22.9.10.3/vosp-api-wrappers-java-22.9.10.3.jar -O VeracodeJavaAPI.jar
- name: "Upload to Veracode"
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
path: output.txt
- name: send a failure slack message
if: failure()
uses: ministryofjustice/hmpps-github-actions/.github/actions/slack_failure_results@main # WORKFLOW_VERSION
uses: ministryofjustice/hmpps-github-actions/.github/actions/slack_failure_results"0.1 # WORKFLOW_VERSION
with:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
channel_id: ${{ inputs.channel_id }}
Expand Down
2 changes: 1 addition & 1 deletion templates/security_npm_dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
security-npm-depencency-check:
name: Project security npm dependency check
uses: ministryofjustice/hmpps-github-actions/.github/workflows/security_npm_dependency.yml@main # WORKFLOW_VERSION
uses: ministryofjustice/hmpps-github-actions/.github/workflows/security_npm_dependency.yml"0.1 # WORKFLOW_VERSION
with:
channel_id: ${{ vars.SLACK_CHANNEL_ID }}
secrets:
Expand Down
2 changes: 1 addition & 1 deletion templates/security_npm_outdated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
security-npm-depencency-check:
name: Project security npm dependency check
uses: ministryofjustice/hmpps-github-actions/.github/workflows/security_npm_outdated.yml@main # WORKFLOW_VERSION
uses: ministryofjustice/hmpps-github-actions/.github/workflows/security_npm_outdated.yml"0.1 # WORKFLOW_VERSION
with:
channel_id: ${{ vars.SLACK_CHANNEL_ID }}
version: main
Expand Down
2 changes: 1 addition & 1 deletion templates/security_owasp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
security-kotlin-owasp-check:
name: Kotlin security OWASP dependency check
uses: ministryofjustice/hmpps-github-actions/.github/workflows/security_owasp.yml@main # WORKFLOW_VERSION
uses: ministryofjustice/hmpps-github-actions/.github/workflows/security_owasp.yml"0.1 # WORKFLOW_VERSION
with:
channel_id: ${{ vars.SLACK_CHANNEL_ID }}
secrets:
Expand Down
2 changes: 1 addition & 1 deletion templates/security_trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
security-kotlin-trivy-check:
name: Project security trivy dependency check
uses: ministryofjustice/hmpps-github-actions/.github/workflows/security_trivy.yml@main # WORKFLOW_VERSION
uses: ministryofjustice/hmpps-github-actions/.github/workflows/security_trivy.yml"0.1 # WORKFLOW_VERSION
with:
channel_id: ${{ vars.SLACK_CHANNEL_ID }}
secrets:
Expand Down
2 changes: 1 addition & 1 deletion templates/security_veracode_pipeline_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
security-veracode-policy-check:
name: Project security veracode policy scan
uses: ministryofjustice/hmpps-github-actions/.github/workflows/security_veracode_pipeline_scan.yml@main # WORKFLOW_VERSION
uses: ministryofjustice/hmpps-github-actions/.github/workflows/security_veracode_pipeline_scan.yml"0.1 # WORKFLOW_VERSION
with:
channel_id: ${{ vars.SLACK_CHANNEL_ID }}
secrets:
Expand Down
2 changes: 1 addition & 1 deletion templates/security_veracode_policy_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
security-veracode-policy-check:
name: Project security veracode policy scan
uses: ministryofjustice/hmpps-github-actions/.github/workflows/security_veracode_policy_scan.yml@main # WORKFLOW_VERSION
uses: ministryofjustice/hmpps-github-actions/.github/workflows/security_veracode_policy_scan.yml"0.1 # WORKFLOW_VERSION
with:
channel_id: ${{ vars.SLACK_CHANNEL_ID }}
secrets:
Expand Down

0 comments on commit c7e6bcc

Please sign in to comment.