Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@

.gitleaks.toml @centreon/owners-security
.gitleaksignore @centreon/owners-security
**/secu-*.yml @centreon/owners-security
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: '/'
schedule:
interval: monthly
open-pull-requests-limit: 50
labels:
- 'dependencies'
- 'gha'
26 changes: 26 additions & 0 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: actionlint

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

on:
workflow_dispatch:
pull_request:
branches:
- master
paths:
- ".github/**"

jobs:
action-lint:
runs-on: ubuntu-24.04
steps:
- name: Checkout sources
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

- name: Ensure SHA pinned actions
uses: centreon/github-actions-ensure-sha-pinned-actions@47d553c67ceb08ad660deaeb3b994e47a3dd8fc3 # v3.0.23.3
with:
allowlist: |
centreon/security-tools
21 changes: 0 additions & 21 deletions .github/workflows/gitleaks.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/secu-code-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: code-scan

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

on:
pull_request:
branches:
- master
push:
branches:
- master
workflow_dispatch:
schedule:
- cron: 0 1 * * 1-5

jobs:

code-scan:
uses: centreon/security-tools/.github/workflows/checkmarx-analysis.yml@main
with:
module_directory:
module_name: warp10r
exclude_list:
secrets:
base_uri: ${{ secrets.AST_RND_SCANS_BASE_URI }}
cx_tenant: ${{ secrets.AST_RND_SCANS_TENANT }}
cx_client_id: ${{ secrets.AST_RND_SCANS_CLIENT_ID }}
cx_client_secret: ${{ secrets.AST_RND_SCANS_CLIENT_SECRET }}
12 changes: 12 additions & 0 deletions .github/workflows/secu-dependency-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: dependency-scan

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

on:
pull_request:
workflow_dispatch:

jobs:
dependency-scan:
uses: centreon/security-tools/.github/workflows/dependency-analysis.yml@main
12 changes: 12 additions & 0 deletions .github/workflows/secu-secret-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: secrets-scan

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

on:
pull_request:
workflow_dispatch:

jobs:
secrets-scan:
uses: centreon/security-tools/.github/workflows/gitleaks-analysis.yml@main