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
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
language: [ 'actions' ]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep JavaScript in the CodeQL language matrix

Because this repo does include runtime JavaScript (docs/assets/app.js), replacing javascript with only actions stops CodeQL from scanning that file. GitHub's CodeQL workflow docs list GitHub Actions (actions) and JavaScript/TypeScript (javascript-typescript, alias javascript) as separate language identifiers, so this extends workflow coverage only by dropping the existing JS coverage; include both entries if the intent is to scan Actions too.

Useful? React with 👍 / 👎.

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
46 changes: 46 additions & 0 deletions bicepconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"analyzers": {
"core": {
"enabled": true,
"verbose": false,
"rules": {
"adminusername-should-not-be-literal": { "level": "error" },
"artifacts-parameters": { "level": "warning" },
"decompiler-cleanup": { "level": "warning" },
"explicit-values-for-loc-params": { "level": "warning" },
"max-asserts": { "level": "warning" },
"max-outputs": { "level": "warning" },
"max-params": { "level": "warning" },
"max-resources": { "level": "warning" },
"max-variables": { "level": "warning" },
"nested-deployment-template-scoping": { "level": "error" },
"no-conflicting-metadata": { "level": "warning" },
"no-deployments-resources": { "level": "warning" },
"no-hardcoded-env-urls": { "level": "error" },
"no-hardcoded-location": { "level": "warning" },
"no-loc-expr-outside-params": { "level": "warning" },
"no-unnecessary-dependson": { "level": "warning" },
"no-unused-existing-resources": { "level": "warning" },
"no-unused-params": { "level": "warning" },
"no-unused-vars": { "level": "warning" },
"outputs-should-not-contain-secrets": { "level": "error" },
"prefer-interpolation": { "level": "warning" },
"prefer-unquoted-property-names": { "level": "warning" },
"protect-commandtoexecute-secrets": { "level": "error" },
"secure-parameter-default": { "level": "error" },
"secure-params-in-nested-deploy": { "level": "error" },
"secure-secrets-in-params": { "level": "error" },
"simplify-interpolation": { "level": "warning" },
"simplify-json-null": { "level": "warning" },
"use-parent-property": { "level": "warning" },
"use-recent-api-versions": { "level": "off" },
"use-resource-id-functions": { "level": "warning" },
"use-resource-symbol-reference": { "level": "warning" },
"use-safe-access": { "level": "warning" },
"use-secure-value-for-secure-inputs": { "level": "error" },
"use-stable-resource-identifiers": { "level": "warning" },
"use-stable-vm-image": { "level": "warning" }
}
}
}
}
Loading