From e72f7720ea08dda3b8e9bd957ae4a649ae196fd4 Mon Sep 17 00:00:00 2001 From: Shawn Huckabay Date: Fri, 11 Oct 2024 06:04:15 -0500 Subject: [PATCH] update --- .../azure_missing_subscriptions/azure_missing_subscriptions.pt | 1 - .../google/google_missing_projects/google_missing_projects.pt | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/azure/azure_missing_subscriptions/azure_missing_subscriptions.pt b/automation/azure/azure_missing_subscriptions/azure_missing_subscriptions.pt index 3241789d09..6c9248791a 100644 --- a/automation/azure/azure_missing_subscriptions/azure_missing_subscriptions.pt +++ b/automation/azure/azure_missing_subscriptions/azure_missing_subscriptions.pt @@ -201,7 +201,6 @@ datasource "ds_azure_subscriptions" do path "/subscriptions/" query "api-version","2020-01-01" header "User-Agent", "RS Policies" - # Ignore status 400, 403, and 404 which can be returned in certain (legacy) types of Azure Subscriptions ignore_status [400, 403, 404] end result do diff --git a/automation/google/google_missing_projects/google_missing_projects.pt b/automation/google/google_missing_projects/google_missing_projects.pt index 5c614655bd..77dffff8d2 100644 --- a/automation/google/google_missing_projects/google_missing_projects.pt +++ b/automation/google/google_missing_projects/google_missing_projects.pt @@ -195,6 +195,7 @@ datasource "ds_google_projects" do host "cloudresourcemanager.googleapis.com" path "/v1/projects/" query "filter", "lifecycleState=ACTIVE" + ignore_status [400, 403, 404] end result do encoding "json"