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
4 changes: 2 additions & 2 deletions .github/workflows/security-baseline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ permissions:

jobs:
gitleaks:
uses: Staros-Labs/infra/.github/workflows/reusable-security-gitleaks.yml@07dce02accd706afbcb8a8b420de0979d3f03364
uses: Staros-Labs/infra/.github/workflows/reusable-security-gitleaks.yml@409ae040cd95594781278724fe6a8ba2027913c0
with:
report_only: true
scan_history: false
permissions:
contents: read

osv:
uses: Staros-Labs/infra/.github/workflows/reusable-security-osv.yml@07dce02accd706afbcb8a8b420de0979d3f03364
uses: Staros-Labs/infra/.github/workflows/reusable-security-osv.yml@409ae040cd95594781278724fe6a8ba2027913c0
with:
report_only: true
permissions:
Expand Down
4 changes: 2 additions & 2 deletions scripts/test_security_baseline_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ def test_caller_uses_pinned_ghas_free_scanners(self) -> None:
self.assertIn("pull_request:", text)
self.assertIn("push:\n branches: [main]", text)
self.assertIn("workflow_dispatch:", text)
self.assertIn("Staros-Labs/infra/.github/workflows/reusable-security-gitleaks.yml@07dce02accd706afbcb8a8b420de0979d3f03364", text)
self.assertIn("Staros-Labs/infra/.github/workflows/reusable-security-osv.yml@07dce02accd706afbcb8a8b420de0979d3f03364", text)
self.assertIn("Staros-Labs/infra/.github/workflows/reusable-security-gitleaks.yml@409ae040cd95594781278724fe6a8ba2027913c0", text)
self.assertIn("Staros-Labs/infra/.github/workflows/reusable-security-osv.yml@409ae040cd95594781278724fe6a8ba2027913c0", text)
self.assertEqual(text.count("report_only: true"), 2)
self.assertNotIn("github/codeql-action", text)
self.assertNotIn("security-events", text)
Expand Down