Skip to content

Commit cc8588b

Browse files
authored
ci(secu): update analyses (#12)
1 parent 8a19006 commit cc8588b

File tree

7 files changed

+91
-21
lines changed

7 files changed

+91
-21
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44

55
.gitleaks.toml @centreon/owners-security
66
.gitleaksignore @centreon/owners-security
7+
**/secu-*.yml @centreon/owners-security

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: '/'
5+
schedule:
6+
interval: monthly
7+
open-pull-requests-limit: 50
8+
labels:
9+
- 'dependencies'
10+
- 'gha'

.github/workflows/actionlint.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: actionlint
2+
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
5+
cancel-in-progress: true
6+
7+
on:
8+
workflow_dispatch:
9+
pull_request:
10+
branches:
11+
- master
12+
paths:
13+
- ".github/**"
14+
15+
jobs:
16+
action-lint:
17+
runs-on: ubuntu-24.04
18+
steps:
19+
- name: Checkout sources
20+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
21+
22+
- name: Ensure SHA pinned actions
23+
uses: centreon/github-actions-ensure-sha-pinned-actions@47d553c67ceb08ad660deaeb3b994e47a3dd8fc3 # v3.0.23.3
24+
with:
25+
allowlist: |
26+
centreon/security-tools

.github/workflows/gitleaks.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: code-scan
2+
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
5+
cancel-in-progress: true
6+
7+
on:
8+
pull_request:
9+
branches:
10+
- master
11+
push:
12+
branches:
13+
- master
14+
workflow_dispatch:
15+
schedule:
16+
- cron: 0 1 * * 1-5
17+
18+
jobs:
19+
20+
code-scan:
21+
uses: centreon/security-tools/.github/workflows/checkmarx-analysis.yml@main
22+
with:
23+
module_directory:
24+
module_name: warp10r
25+
exclude_list:
26+
secrets:
27+
base_uri: ${{ secrets.AST_RND_SCANS_BASE_URI }}
28+
cx_tenant: ${{ secrets.AST_RND_SCANS_TENANT }}
29+
cx_client_id: ${{ secrets.AST_RND_SCANS_CLIENT_ID }}
30+
cx_client_secret: ${{ secrets.AST_RND_SCANS_CLIENT_SECRET }}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: dependency-scan
2+
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
5+
6+
on:
7+
pull_request:
8+
workflow_dispatch:
9+
10+
jobs:
11+
dependency-scan:
12+
uses: centreon/security-tools/.github/workflows/dependency-analysis.yml@main
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: secrets-scan
2+
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
5+
6+
on:
7+
pull_request:
8+
workflow_dispatch:
9+
10+
jobs:
11+
secrets-scan:
12+
uses: centreon/security-tools/.github/workflows/gitleaks-analysis.yml@main

0 commit comments

Comments
 (0)