25 changed files
.github/workflows | ||
grype.yaml + | ||
kics.yaml + | ||
semgrep-cloud.yaml + | ||
semgrep.yaml + | ||
sonarcloud.yaml + | ||
trivy.yaml + | ||
validate.yaml + | ||
setup | ||
ci_bootstrap.sh + | ||
ci_git_set_dir_safe.sh + | ||
.editorconfig + | ||
.envrc + | ||
.envrc-python + | ||
.gitlab-ci.yml + | ||
.gitmodules + | ||
.mdl.rb + | ||
.mdlrc + | ||
.pre-commit-config.yaml + | ||
azure-pipelines.yml + | ||
bash-tools + | ||
bitbucket-pipelines.yml + | ||
customize.sh + | ||
LICENSE + | ||
Makefile + | ||
README.md + | ||
sonar-project.properties + | ||
Add comment 1 Plus #
Add comment 2 Plus # Author: Hari Sekhon
Add comment 3 Plus # Date: 2023-05-13 01:07:56 +0100 (Sat, 13 May 2023)
Add comment 4 Plus #
Add comment 5 Plus # vim:ts=2:sts=2:sw=2:et
Add comment 6 Plus #
Add comment 7 Plus # https://github.com/HariSekhon/Template-repo
Add comment 8 Plus #
Add comment 9 Plus # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback
Add comment 10 Plus #
Add comment 11 Plus # https://www.linkedin.com/in/HariSekhon
Add comment 12 Plus #
Add comment 13 Plus
Add comment 14 Plus # ============================================================================ #
Add comment 15 Plus # G r y p e
Add comment 16 Plus # ============================================================================ #
Add comment 17 Plus
Add comment 18 Plus ---
Add comment 19 Plus name: Grype
Add comment 20 Plus
Add comment 21 Plus on:
Add comment 22 Plus push:
Add comment 23 Plus branches:
Add comment 24 Plus - master
Add comment 25 Plus - main
Add comment 26 Plus paths-ignore:
Add comment 27 Plus - '**/*.md'
Add comment 28 Plus pull_request:
Add comment 29 Plus branches:
Add comment 30 Plus - master
Add comment 31 Plus - main
Add comment 32 Plus paths-ignore:
Add comment 33 Plus - '**/*.md'
Add comment 34 Plus workflow_dispatch:
Add comment 35 Plus inputs:
Add comment 36 Plus debug:
Add comment 37 Plus type: boolean
Add comment 38 Plus required: false
Add comment 39 Plus default: false
Add comment 40 Plus schedule:
Add comment 41 Plus - cron: '0 0 * * 1'
Add comment 42 Plus
Add comment 43 Plus permissions:
Add comment 44 Plus actions: read
Add comment 45 Plus contents: read
Add comment 46 Plus security-events: write
Add comment 47 Plus
Add comment 48 Plus concurrency:
Add comment 49 Plus group: ${{ github.ref }}-${{ github.workflow }}
Add comment 50 Plus cancel-in-progress: true
Add comment 51 Plus
Add comment 52 Plus jobs:
Add comment 53 Plus Grype:
Add comment 54 Plus # github.event.repository context not available in scheduled workflows
Add comment 55 Plus #if: github.event.repository.fork == false
Add comment 56 Plus if: github.repository_owner == 'HariSekhon'
Add comment 57 Plus name: Grype
Add comment 58 Plus uses: HariSekhon/GitHub-Actions/.github/workflows/grype.yaml@master
Add comment 59 Plus with:
Add comment 60 Plus debug: ${{ github.event.inputs.debug }}
Add comment 61 Plus
Add comment 1 Plus #
Add comment 2 Plus # Author: Hari Sekhon
Add comment 3 Plus # Date: 2022-02-01 19:36:08 +0000 (Tue, 01 Feb 2022)
Add comment 4 Plus #
Add comment 5 Plus # vim:ts=2:sts=2:sw=2:et
Add comment 6 Plus #
Add comment 7 Plus # https://github.com/HariSekhon/Template-repo
Add comment 8 Plus #
Add comment 9 Plus # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback
Add comment 10 Plus #
Add comment 11 Plus # https://www.linkedin.com/in/HariSekhon
Add comment 12 Plus #
Add comment 13 Plus
Add comment 14 Plus # ============================================================================ #
Add comment 15 Plus # K i c s
Add comment 16 Plus # ============================================================================ #
Add comment 17 Plus
Add comment 18 Plus ---
Add comment 19 Plus name: Kics
Add comment 20 Plus
Add comment 21 Plus on:
Add comment 22 Plus push:
Add comment 23 Plus branches:
Add comment 24 Plus - master
Add comment 25 Plus - main
Add comment 26 Plus paths-ignore:
Add comment 27 Plus - '**/*.md'
Add comment 28 Plus pull_request:
Add comment 29 Plus branches:
Add comment 30 Plus - master
Add comment 31 Plus - main
Add comment 32 Plus paths-ignore:
Add comment 33 Plus - '**/*.md'
Add comment 34 Plus workflow_dispatch:
Add comment 35 Plus inputs:
Add comment 36 Plus debug:
Add comment 37 Plus type: boolean
Add comment 38 Plus required: false
Add comment 39 Plus default: false
Add comment 40 Plus schedule:
Add comment 41 Plus - cron: '0 0 * * 1'
Add comment 42 Plus
Add comment 43 Plus permissions:
Add comment 44 Plus actions: read
Add comment 45 Plus contents: read
Add comment 46 Plus security-events: write
Add comment 47 Plus
Add comment 48 Plus concurrency:
Add comment 49 Plus group: ${{ github.ref }}-${{ github.workflow }}
Add comment 50 Plus cancel-in-progress: true
Add comment 51 Plus
Add comment 52 Plus jobs:
Add comment 53 Plus kics:
Add comment 54 Plus # github.event.repository context not available in scheduled workflows
Add comment 55 Plus #if: github.event.repository.fork == false
Add comment 56 Plus if: github.repository_owner == 'HariSekhon'
Add comment 57 Plus name: Kics
Add comment 58 Plus uses: HariSekhon/GitHub-Actions/.github/workflows/kics.yaml@master
Add comment 59 Plus with:
Add comment 60 Plus debug: ${{ github.event.inputs.debug }}
Add comment 61 Plus
Add comment 1 Plus #
Add comment 2 Plus # Author: Hari Sekhon
Add comment 3 Plus # Date: Tue Feb 4 09:53:28 2020 +0000
Add comment 4 Plus #
Add comment 5 Plus # vim:ts=2:sts=2:sw=2:et
Add comment 6 Plus #
Add comment 7 Plus # https://github.com/HariSekhon/Template-repo
Add comment 8 Plus #
Add comment 9 Plus # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback
Add comment 10 Plus #
Add comment 11 Plus # https://www.linkedin.com/in/HariSekhon
Add comment 12 Plus #
Add comment 13 Plus
Add comment 14 Plus # ============================================================================ #
Add comment 15 Plus # S e m g r e p C l o u d W o r k f l o w
Add comment 16 Plus # ============================================================================ #
Add comment 17 Plus
Add comment 18 Plus # Logs results to https://semgrep.dev/
Add comment 19 Plus
Add comment 20 Plus ---
Add comment 21 Plus name: Semgrep Cloud
Add comment 22 Plus
Add comment 23 Plus on:
Add comment 24 Plus push:
Add comment 25 Plus branches:
Add comment 26 Plus - master
Add comment 27 Plus - main
Add comment 28 Plus paths-ignore:
Add comment 29 Plus - '**/*.md'
Add comment 30 Plus pull_request:
Add comment 31 Plus branches:
Add comment 32 Plus - master
Add comment 33 Plus - main
Add comment 34 Plus paths-ignore:
Add comment 35 Plus - '**/*.md'
Add comment 36 Plus workflow_dispatch:
Add comment 37 Plus inputs:
Add comment 38 Plus debug:
Add comment 39 Plus type: boolean
Add comment 40 Plus required: false
Add comment 41 Plus default: false
Add comment 42 Plus schedule:
Add comment 43 Plus - cron: '0 0 * * 1'
Add comment 44 Plus
Add comment 45 Plus permissions:
Add comment 46 Plus contents: read
Add comment 47 Plus
Add comment 48 Plus concurrency:
Add comment 49 Plus group: ${{ github.ref }}-${{ github.workflow }}
Add comment 50 Plus cancel-in-progress: true
Add comment 51 Plus
Add comment 52 Plus jobs:
Add comment 53 Plus semgrep:
Add comment 54 Plus # github.event.repository context not available in scheduled workflows
Add comment 55 Plus #if: github.event.repository.fork == false
Add comment 56 Plus if: github.repository_owner == 'HariSekhon'
Add comment 57 Plus name: Semgrep Cloud
Add comment 58 Plus uses: HariSekhon/GitHub-Actions/.github/workflows/semgrep-cloud.yaml@master
Add comment 59 Plus secrets:
Add comment 60 Plus SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
Add comment 61 Plus with:
Add comment 62 Plus debug: ${{ github.event.inputs.debug }}
Add comment 63 Plus
Add comment 1 Plus #
Add comment 2 Plus # Author: Hari Sekhon
Add comment 3 Plus # Date: Tue Feb 4 09:53:28 2020 +0000
Add comment 4 Plus #
Add comment 5 Plus # vim:ts=2:sts=2:sw=2:et
Add comment 6 Plus #
Add comment 7 Plus # https://github.com/HariSekhon/Template-repo
Add comment 8 Plus #
Add comment 9 Plus # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback
Add comment 10 Plus #
Add comment 11 Plus # https://www.linkedin.com/in/HariSekhon
Add comment 12 Plus #
Add comment 13 Plus
Add comment 14 Plus # ============================================================================ #
Add comment 15 Plus # S e m g r e p G i t H u b W o r k f l o w
Add comment 16 Plus # ============================================================================ #
Add comment 17 Plus
Add comment 18 Plus # Generates code scanning alerts in GitHub's Security tab -> Code scanning alerts
Add comment 19 Plus
Add comment 20 Plus # https://semgrep.dev/docs/semgrep-ci/sample-ci-configs/#github-actions
Add comment 21 Plus
Add comment 22 Plus ---
Add comment 23 Plus name: Semgrep
Add comment 24 Plus
Add comment 25 Plus on:
Add comment 26 Plus push:
Add comment 27 Plus branches:
Add comment 28 Plus - master
Add comment 29 Plus - main
Add comment 30 Plus paths-ignore:
Add comment 31 Plus - '**/*.md'
Add comment 32 Plus pull_request:
Add comment 33 Plus branches:
Add comment 34 Plus - master
Add comment 35 Plus - main
Add comment 36 Plus paths-ignore:
Add comment 37 Plus - '**/*.md'
Add comment 38 Plus workflow_dispatch:
Add comment 39 Plus inputs:
Add comment 40 Plus debug:
Add comment 41 Plus type: boolean
Add comment 42 Plus required: false
Add comment 43 Plus default: false
Add comment 44 Plus schedule:
Add comment 45 Plus - cron: '0 0 * * 1'
Add comment 46 Plus
Add comment 47 Plus permissions:
Add comment 48 Plus actions: read
Add comment 49 Plus contents: read
Add comment 50 Plus security-events: write
Add comment 51 Plus
Add comment 52 Plus concurrency:
Add comment 53 Plus group: ${{ github.ref }}-${{ github.workflow }}
Add comment 54 Plus cancel-in-progress: true
Add comment 55 Plus
Add comment 56 Plus jobs:
Add comment 57 Plus semgrep:
Add comment 58 Plus # github.event.repository context not available in scheduled workflows
Add comment 59 Plus #if: github.event.repository.fork == false
Add comment 60 Plus if: github.repository_owner == 'HariSekhon'
Add comment 61 Plus name: Semgrep GitHub Security Tab
Add comment 62 Plus uses: HariSekhon/GitHub-Actions/.github/workflows/semgrep.yaml@master
Add comment 63 Plus with:
Add comment 64 Plus debug: ${{ github.event.inputs.debug }}
Add comment 65 Plus