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: 0 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions: read-all

Check warning on line 20 in .github/workflows/codeql.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Replace "read-all" with specific permissions (e.g., "contents: read").

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_network-ambulance&issues=AZ_VCJ_47PoDkl7eAZ9X&open=AZ_VCJ_47PoDkl7eAZ9X&pullRequest=45
actions: read

jobs:
analyze:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/guix-nix-policy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions: read-all

Check warning on line 14 in .github/workflows/guix-nix-policy.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Replace "read-all" with specific permissions (e.g., "contents: read").

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_network-ambulance&issues=AZ_VCJ9u7PoDkl7eAZ9R&open=AZ_VCJ9u7PoDkl7eAZ9R&pullRequest=45
actions: read

jobs:
check:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
cancel-in-progress: true


permissions: read-all

Check warning on line 15 in .github/workflows/quality.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Replace "read-all" with specific permissions (e.g., "contents: read").

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_network-ambulance&issues=AZ_VCKAK7PoDkl7eAZ9Y&open=AZ_VCKAK7PoDkl7eAZ9Y&pullRequest=45
actions: read

jobs:
lint:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
push:
branches: [main]

permissions: read-all

Check warning on line 11 in .github/workflows/scorecard.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Replace "read-all" with specific permissions (e.g., "contents: read").

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_network-ambulance&issues=AZ_VCJ-A7PoDkl7eAZ9T&open=AZ_VCJ-A7PoDkl7eAZ9T&pullRequest=45
actions: read

jobs:
analysis:
Expand All @@ -18,4 +17,4 @@
contents: read
security-events: write
id-token: write
secrets: inherit

Check warning on line 20 in .github/workflows/scorecard.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Only pass required secrets to this workflow.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_network-ambulance&issues=AZ_VCJ-A7PoDkl7eAZ9S&open=AZ_VCJ-A7PoDkl7eAZ9S&pullRequest=45
1 change: 0 additions & 1 deletion .github/workflows/security-policy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions: read-all

Check warning on line 14 in .github/workflows/security-policy.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Replace "read-all" with specific permissions (e.g., "contents: read").

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_network-ambulance&issues=AZ_VCJ_f7PoDkl7eAZ9U&open=AZ_VCJ_f7PoDkl7eAZ9U&pullRequest=45
actions: read

jobs:
check:
Expand All @@ -33,10 +32,10 @@
fi

# Block HTTP URLs (except localhost)
HTTP_URLS=$(grep -rE 'http://[^l][^o][^c]' --include="*.py" --include="*.js" --include="*.ts" --include="*.go" --include="*.rs" --include="*.yaml" --include="*.yml" . 2>/dev/null | grep -v 'localhost\|127.0.0.1\|example\|test\|spec' | head -5 || true)

Check warning on line 35 in .github/workflows/security-policy.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Make sure that using clear-text protocols is safe here.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_network-ambulance&issues=AZ_VCJ_f7PoDkl7eAZ9V&open=AZ_VCJ_f7PoDkl7eAZ9V&pullRequest=45
if [ -n "$HTTP_URLS" ]; then
echo "⚠️ HTTP URLs found. Use HTTPS:"
echo "$HTTP_URLS"

Check warning on line 38 in .github/workflows/security-policy.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Make sure that using clear-text protocols is safe here.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_network-ambulance&issues=AZ_VCJ_f7PoDkl7eAZ9W&open=AZ_VCJ_f7PoDkl7eAZ9W&pullRequest=45
fi

# Block hardcoded secrets patterns
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/wellknown-enforcement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
workflow_dispatch:


permissions: read-all

Check warning on line 18 in .github/workflows/wellknown-enforcement.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Replace "read-all" with specific permissions (e.g., "contents: read").

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_network-ambulance&issues=AZ_VCKAd7PoDkl7eAZ9Z&open=AZ_VCKAd7PoDkl7eAZ9Z&pullRequest=45
actions: read

jobs:
validate:
Expand Down Expand Up @@ -76,10 +75,10 @@

- name: Mixed content check
run: |
MIXED=$(grep -rE 'src="http://|href="http://' --include="*.html" --include="*.htm" . 2>/dev/null | grep -vE 'localhost|127\.0\.0\.1|example\.com' | head -5 || true)

Check warning on line 78 in .github/workflows/wellknown-enforcement.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Make sure that using clear-text protocols is safe here.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_network-ambulance&issues=AZ_VCKAd7PoDkl7eAZ9a&open=AZ_VCKAd7PoDkl7eAZ9a&pullRequest=45
if [ -n "$MIXED" ]; then
echo "::error::Mixed content (HTTP in HTML)"
echo "$MIXED"

Check warning on line 81 in .github/workflows/wellknown-enforcement.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Make sure that using clear-text protocols is safe here.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_network-ambulance&issues=AZ_VCKAd7PoDkl7eAZ9b&open=AZ_VCKAd7PoDkl7eAZ9b&pullRequest=45
exit 1
fi
echo "✅ No mixed content"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/workflow-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
- '.github/workflows/**'
workflow_dispatch:

permissions: read-all

Check warning on line 15 in .github/workflows/workflow-linter.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Replace "read-all" with specific permissions (e.g., "contents: read").

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_network-ambulance&issues=AZ_VCJ6k7PoDkl7eAZ9Q&open=AZ_VCJ6k7PoDkl7eAZ9Q&pullRequest=45
actions: read

jobs:
lint-workflows:
Expand Down
Loading