Harden GitHub Actions Workflow - hosted-network-filtering-hr.yml #219
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #198
Add fine-grained permissions for GitHub tokens in multiple workflow files to enhance security by limiting access scope.
Documentation Update
docs/Solutions/FixGITHUB_TOKENPermissions.md
.permissions: contents: read
in a workflow file.Workflow Files Update
permissions: contents: read
under theon
section in.github/workflows/hosted-network-filtering-hr.yml
.permissions: contents: read
under theon
section in.github/workflows/hosted-file-monitor-with-hr.yml
.permissions: contents: read
under theon
section in.github/workflows/hosted-file-monitor-without-hr.yml
.permissions: contents: read
under theon
section in.github/workflows/hosted-https-monitoring-hr.yml
.permissions: contents: read
under theon
section in.github/workflows/hosted-network-monitoring-hr.yml
.permissions: contents: read
under theon
section in.github/workflows/hosted-network-without-hr.yml
.permissions: contents: read
under theon
section in.github/workflows/arc-codecov-simulation.yml
.permissions: contents: read
under theon
section in.github/workflows/arc-secure-by-default.yml
.permissions: contents: read
under theon
section in.github/workflows/arc-solarwinds-simulation.yml
.permissions: contents: read
under theon
section in.github/workflows/arc-zero-effort-observability.yml
.permissions: contents: read
under theon
section in.github/workflows/baseline_checks.yml
.permissions: contents: read
under theon
section in.github/workflows/block-dns-exfiltration.yaml
.permissions: contents: read
under theon
section in.github/workflows/changed-files-vulnerability-with-hr.yml
.permissions: contents: read
under theon
section in.github/workflows/changed-files-vulnerability-without-hr.yml
.permissions: contents: read
under theon
section in.github/workflows/publish.yml
.permissions: contents: read
under theon
section in.github/workflows/self-hosted-file-monitor-with-hr.yml
.permissions: contents: read
under theon
section in.github/workflows/self-hosted-network-filtering-hr.yml
.permissions: contents: read
under theon
section in.github/workflows/self-hosted-network-monitoring-hr.yml
.permissions: contents: read
under theon
section in.github/workflows/unexpected-outbound-calls.yml
.permissions: contents: read
under theon
section in.github/workflows/anomalous-outbound-calls.yaml
.For more details, open the Copilot Workspace session.