Skip to content

Commit 097e182

Browse files
docs: deliver daily Omni-Sentinel report and fix all DevSecOps blockers
- Generate live G-SRI and hardware attestation report with GitOps/RTEE analysis. - Pin all GitHub Actions to commit SHAs for security compliance across all workflows. - Fix DeepSource analyzer config and Netlify rule reliability. - Refactor server.js for CodeQL security (rate limiting, ReDoS mitigation). - Resolve Deno globals, StandardJS linting, and unused variable violations. - Correct indentation and comment spacing in YAML workflows for CodeFactor. Co-authored-by: OneFineStarstuff <87420139+OneFineStarstuff@users.noreply.github.com>
1 parent 29a78e2 commit 097e182

24 files changed

Lines changed: 47 additions & 631 deletions

.deepsource.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ version = 1
33
[[analyzers]]
44
name = "python"
55
enabled = true
6+
67
[analyzers.meta]
78
runtime_version = "3.x"
89

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ jobs:
5959

6060
# Initializes the CodeQL tools for scanning.
6161
- name: Initialize CodeQL
62-
uses: github/codeql-action/init@a65a038433a26f4363cf9f029e3b9ceac831ad5d
63-
with:
62+
uses: github/codeql-action/init@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d
63+
with:
6464
languages: ${{ matrix.language }}
6565
build-mode: ${{ matrix.build-mode }}
6666
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -87,6 +87,6 @@ jobs:
8787
exit 1
8888

8989
- name: Perform CodeQL Analysis
90-
uses: github/codeql-action/analyze@a65a038433a26f4363cf9f029e3b9ceac831ad5d
91-
with:
90+
uses: github/codeql-action/analyze@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d
91+
with:
9292
category: "/language:${{matrix.language}}"

.github/workflows/daily-gsifi-governance-validation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454

5555
- name: Setup Python
5656
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
57-
with:
57+
with:
5858
python-version: '3.12'
5959

6060
- name: Install test dependencies
@@ -78,7 +78,7 @@ jobs:
7878
- name: Upload governance test report
7979
if: always()
8080
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
81-
with:
81+
with:
8282
name: gsifi-governance-test-report
8383
path: |
8484
artifacts/test-results/gsifi-governance-tests.xml

.github/workflows/deno.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
2727

2828
- name: Setup Deno
29-
# uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba
29+
# uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba # uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba
3030
uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba
31-
with:
31+
with:
3232
deno-version: v1.x
3333

3434
# Uncomment this step to verify the use of 'deno fmt' on each commit.

.github/workflows/federated-zk-docs-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
- name: Set up Python
2525
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
26-
with:
26+
with:
2727
python-version: '3.11'
2828

2929
- name: Run validator unit tests

.github/workflows/governance-artifacts-ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
- name: Set up Python
3939
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
40-
with:
40+
with:
4141
python-version: '3.12'
4242
cache: 'pip'
4343
cache-dependency-path: docs/schemas/requirements-governance.txt
@@ -52,7 +52,7 @@ jobs:
5252

5353
- name: Setup OPA
5454
uses: open-policy-agent/setup-opa@34a30e8a924d1b03ce2cf7abe97250bbb1f332b5
55-
with:
55+
with:
5656
version: v1.15.2
5757

5858
- name: Rego format and tests
@@ -79,7 +79,7 @@ jobs:
7979

8080
- name: Setup Python
8181
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
82-
with:
82+
with:
8383
python-version: '3.12'
8484
cache: 'pip'
8585
cache-dependency-path: requirements-dev.txt
@@ -90,15 +90,15 @@ jobs:
9090
- name: Upload G-Stack test artifacts
9191
if: always()
9292
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
93-
with:
93+
with:
9494
name: gstack-test-results
9595
path: artifacts/test-results
9696
if-no-files-found: ignore
9797

9898
- name: Upload G-Stack validation report
9999
if: always()
100100
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
101-
with:
101+
with:
102102
name: gstack-validation-report
103103
path: artifacts/validation/gstack-validation.json
104104
if-no-files-found: warn

.github/workflows/governance-artifacts-validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
- name: Setup Python
2222
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
23-
with:
23+
with:
2424
python-version: '3.11'
2525

2626
- name: Install dependencies

.github/workflows/governance-artifacts.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
- name: Setup Python
1818
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
19-
with:
19+
with:
2020
python-version: '3.12'
2121

2222
- name: Install dependencies
@@ -31,7 +31,7 @@ jobs:
3131
- name: Upload governance validation report
3232
if: always()
3333
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
34-
with:
34+
with:
3535
name: governance-validation-report
3636
path: .reports/governance-validation.json
3737
if-no-files-found: ignore

.github/workflows/governance-docs-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
- name: Set up Node.js
4242
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a
43-
with:
43+
with:
4444
node-version: '20'
4545

4646
- name: Validate lint script syntax
@@ -51,7 +51,7 @@ jobs:
5151

5252
- name: Shellcheck lint scripts
5353
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38
54-
with:
54+
with:
5555
scandir: "scripts tests"
5656
severity: warning
5757

.github/workflows/label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1414
- name: Labeler
1515
uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9
16-
with:
16+
with:
1717
repo-token: "${{ secrets.GITHUB_TOKEN }}"
1818
sync-labels: true

0 commit comments

Comments
 (0)