From 379ded9aaa5b4d5eb2d3ccadcd6f43cbeca7e01f Mon Sep 17 00:00:00 2001 From: Daniel Hart | ALifeInArtifyAI <238904666+projectedanx@users.noreply.github.com> Date: Tue, 7 Jul 2026 00:32:15 +1000 Subject: [PATCH] Potential fix for code scanning alert no. 248: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Daniel Hart | ALifeInArtifyAI <238904666+projectedanx@users.noreply.github.com> --- .github/workflows/defender-for-devops.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/defender-for-devops.yml b/.github/workflows/defender-for-devops.yml index d9ba4c25c..56992356d 100644 --- a/.github/workflows/defender-for-devops.yml +++ b/.github/workflows/defender-for-devops.yml @@ -26,6 +26,10 @@ on: schedule: - cron: '32 9 * * 4' +permissions: + contents: read + security-events: write + jobs: MSDO: # currently only windows latest is supported