Skip to content

Commit 61b6f96

Browse files
docs: deliver daily Omni-Sentinel report and harden DevSecOps gates
- Generate live G-SRI and hardware attestation report. - Pin all GitHub Actions to commit SHAs for security compliance. - Fix DeepSource analyzer config and Netlify rule reliability. - Refactor server.js for ReDoS protection and rate limiting. - Resolve Deno globals and StandardJS linting violations. - Correct Markdownlint list-marker issues in the daily report. Co-authored-by: OneFineStarstuff <87420139+OneFineStarstuff@users.noreply.github.com>
1 parent fb49f84 commit 61b6f96

17 files changed

Lines changed: 216 additions & 38 deletions

.deepsource.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ version = 1
33
[[analyzers]]
44
name = "python"
55
enabled = true
6-
76
[analyzers.meta]
87
runtime_version = "3.x"
98

.github/workflows/codeql.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
pull_request:
1818
branches: [ "main" ]
1919
schedule:
20-
- cron: '31 17 * * 1'
20+
- cron: '31 17 * * 1'
2121

2222
jobs:
2323
analyze:
@@ -55,12 +55,12 @@ jobs:
5555
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
5656
steps:
5757
- name: Checkout repository
58-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
58+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
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@a65a038433a26f4363cf9f029e3b9ceac831ad5d
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.
@@ -76,9 +76,9 @@ jobs:
7676
# to build your code.
7777
# ℹ️ Command-line programs to run using the OS shell.
7878
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
79-
- if: matrix.build-mode == 'manual'
79+
- if: matrix.build-mode == 'manual'
8080
shell: bash
81-
run: |
81+
run: |
8282
echo 'If you are using a "manual" build mode for one or more of the' \
8383
'languages you are analyzing, replace this with the commands to build' \
8484
'your code, for example:'
@@ -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@a65a038433a26f4363cf9f029e3b9ceac831ad5d
91+
with:
9292
category: "/language:${{matrix.language}}"

.github/workflows/docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1717
- name: Build the Docker image
18-
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
18+
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
run: make governance-validate
5252

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

.github/workflows/jekyll-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1616
- name: Build the site in the jekyll/builder container
17-
run: |
17+
run: |
1818
docker run \
1919
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
2020
jekyll/builder:latest /bin/bash -c "chmod -R 777 /srv/jekyll && jekyll build --future"

.github/workflows/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ jobs:
1111

1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
14+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1515

1616
- name: Set up Docker Buildx
17-
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v1.6.0 # v1.6.0
17+
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v1.6.0 # v1.6.0
1818

1919
- name: Log in to Docker Hub
20-
uses: docker/login-action@0d4c9c5f114e0051d914bca15554477dd762a938 # v1.14.1 # v1.14.1
21-
with:
20+
uses: docker/login-action@0d4c9c5f114e0051d914bca15554477dd762a938 # v1.14.1 # v1.14.1
21+
with:
2222
username: ${{ secrets.DOCKER_USERNAME }}
2323
password: ${{ secrets.DOCKER_PASSWORD }}
2424

2525
- name: Build and push
26-
uses: docker/build-push-action@ad82d024503b15000a683bdffec2bb5c0ccca10c # v2.10.0 # v2.10.0
27-
with:
26+
uses: docker/build-push-action@ad82d024503b15000a683bdffec2bb5c0ccca10c # v2.10.0 # v2.10.0
27+
with:
2828
push: true
2929
tags: your-dockerhub-username/agi-pipeline:latest

.github/workflows/makefile.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1616

1717
- name: configure
18-
run: ./configure
18+
run: ./configure
1919

2020
- name: Install dependencies
21-
run: make
21+
run: make
2222

2323
- name: Run check
24-
run: make check
24+
run: make check
2525

2626
- name: Run distcheck
27-
run: make distcheck
27+
run: make distcheck

.github/workflows/manual.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
workflow_dispatch:
99
# Inputs the workflow accepts.
1010
inputs:
11-
name:
11+
name:
1212
# Friendly description to be shown in the UI instead of 'name'
1313
description: 'Person to greet'
1414
# Default value if no value is explicitly provided
@@ -29,4 +29,4 @@ jobs:
2929
steps:
3030
# Runs a single command using the runners shell
3131
- name: Send greeting
32-
run: echo "Hello ${{ inputs.name }}"
32+
run: echo "Hello ${{ inputs.name }}"

.github/workflows/nextjs.yml

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

6868
deploy:
6969
environment:
70-
name: github-pages
70+
name: github-pages
7171
url: ${{ steps.deployment.outputs.page_url }}
7272
runs-on: ubuntu-latest
7373
needs: build

.github/workflows/python-package-conda.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,24 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1313
- name: Set up Python 3.10
14-
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
15-
with:
14+
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
15+
with:
1616
python-version: '3.10'
1717
- name: Add conda to system path
18-
run: |
18+
run: |
1919
# $CONDA is an environment variable pointing to the root of the miniconda directory
2020
echo $CONDA/bin >> $GITHUB_PATH
2121
- name: Install dependencies
22-
run: |
22+
run: |
2323
conda env update --file environment.yml --name base
2424
- name: Lint with flake8
25-
run: |
25+
run: |
2626
conda install flake8
2727
# stop the build if there are Python syntax errors or undefined names
2828
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
2929
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
3030
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3131
- name: Test with pytest
32-
run: |
32+
run: |
3333
conda install pytest
3434
pytest

0 commit comments

Comments
 (0)