From 45758407016ff1bc5fcc113ee15c3a60fc616e58 Mon Sep 17 00:00:00 2001 From: Anthony Shaw Date: Tue, 18 Jun 2024 14:26:42 +1000 Subject: [PATCH] Disable ACA public rules --- .cruft.json | 2 +- .vscode/launch.json | 4 ++-- ps-rule.yaml | 11 ++++++++++- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.cruft.json b/.cruft.json index 2755443..a382e5e 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/Azure-Samples/Azure-Python-Standardization-Template-Generator", - "commit": "984454a27bd81d8d26794bd3464e9b1b5714ff66", + "commit": "619a6b29afba8ca26c528526bc313294d5c414a4", "checkout": null, "context": { "cookiecutter": { diff --git a/.vscode/launch.json b/.vscode/launch.json index cd7c512..f573268 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -6,7 +6,7 @@ "configurations": [ { "name": "Python: FastAPI", - "type": "python", + "type": "debugpy", "request": "launch", "module": "uvicorn", "args": [ @@ -16,7 +16,7 @@ }, { "name": "Python: Debug Tests", - "type": "python", + "type": "debugpy", "request": "launch", "program": "${file}", "purpose": ["debug-test"], diff --git a/ps-rule.yaml b/ps-rule.yaml index bb4904b..21b1d31 100644 --- a/ps-rule.yaml +++ b/ps-rule.yaml @@ -1,3 +1,12 @@ # YAML: Set the AZURE_BICEP_FILE_EXPANSION configuration option to enable expansion configuration: - AZURE_BICEP_FILE_EXPANSION: true \ No newline at end of file + AZURE_BICEP_FILE_EXPANSION: true + AZURE_DEPLOYMENT_NONSENSITIVE_PARAMETER_NAMES: + - connectionStringKey + + +rule: + exclude: + # Ignore ACA public access rules since all these templates are for public facing web apps + - Azure.ContainerApp.RestrictIngress + - Azure.ContainerApp.PublicAccess \ No newline at end of file