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
4 changes: 4 additions & 0 deletions scripts/ci/credscan/CredScanSuppressions.json
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,10 @@
{
"placeholder": "mypass",
"_justification": "[AppService] Dummy DOCKER_REGISTRY_SERVER_PASSWORD value in test_compose_convert.py unit tests"
},
{
"placeholder": "unused",
"_justification": "[PostgreSQL] Dummy service principal password returned by the create_service_principal_for_rbac mock in test_deploy_commands.py unit tests"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@


class FunctionAppAccessRestrictionScenarioTest(ScenarioTest):
@unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
@ResourceGroupPreparer(parameter_name_for_location='location', location=WINDOWS_ASP_LOCATION_WEBAPP)
@StorageAccountPreparer(location=WINDOWS_ASP_LOCATION_WEBAPP)
def test_functionapp_access_restriction_show(self, resource_group, location):
Expand All @@ -49,6 +50,7 @@ def test_functionapp_access_restriction_show(self, resource_group, location):
JMESPathCheck('scmIpSecurityRestrictionsDefaultAction', None)
])

@unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
@ResourceGroupPreparer(parameter_name_for_location='location', location=WINDOWS_ASP_LOCATION_WEBAPP)
@StorageAccountPreparer(location=WINDOWS_ASP_LOCATION_WEBAPP)
def test_functionapp_access_restriction_set_simple(self, resource_group, location):
Expand Down Expand Up @@ -80,6 +82,7 @@ def test_functionapp_access_restriction_set_simple(self, resource_group, locatio
JMESPathCheck('scmIpSecurityRestrictionsDefaultAction', 'Deny')
])

@unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
@ResourceGroupPreparer(parameter_name_for_location='location', location=WINDOWS_ASP_LOCATION_WEBAPP)
@StorageAccountPreparer(location=WINDOWS_ASP_LOCATION_WEBAPP)
def test_functionapp_access_restriction_set_complex(self, resource_group, location):
Expand All @@ -100,6 +103,7 @@ def test_functionapp_access_restriction_set_complex(self, resource_group, locati
JMESPathCheck('scmIpSecurityRestrictionsUseMain', False)
])

@unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
@ResourceGroupPreparer(random_name_length=17, parameter_name_for_location='location', location=WINDOWS_ASP_LOCATION_WEBAPP)
# random_name_length is temporary until the bug fix in the API is deployed successfully & then should be removed.
@StorageAccountPreparer(location=WINDOWS_ASP_LOCATION_WEBAPP)
Expand All @@ -121,6 +125,7 @@ def test_functionapp_access_restriction_add(self, resource_group, location):
JMESPathCheck('[1].action', 'Deny')
])

@unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
@ResourceGroupPreparer(parameter_name_for_location='location', location=WINDOWS_ASP_LOCATION_WEBAPP)
@StorageAccountPreparer(location=WINDOWS_ASP_LOCATION_WEBAPP)
def test_functionapp_access_restriction_add_ip_address_validation(self, resource_group, location):
Expand Down Expand Up @@ -176,6 +181,7 @@ def test_functionapp_access_restriction_add_service_endpoint(self, resource_grou
JMESPathCheck('[1].action', 'Deny')
])

@unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
@ResourceGroupPreparer(parameter_name_for_location='location', location=WINDOWS_ASP_LOCATION_WEBAPP)
@StorageAccountPreparer(location=WINDOWS_ASP_LOCATION_WEBAPP)
def test_functionapp_access_restriction_remove(self, resource_group, location):
Expand All @@ -202,6 +208,7 @@ def test_functionapp_access_restriction_remove(self, resource_group, location):
JMESPathCheck('[0].action', 'Allow')
])

@unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
@ResourceGroupPreparer(parameter_name_for_location='location', location=WINDOWS_ASP_LOCATION_WEBAPP)
@StorageAccountPreparer(location=WINDOWS_ASP_LOCATION_WEBAPP)
def test_functionapp_access_restriction_add_scm(self, resource_group, location):
Expand All @@ -222,6 +229,7 @@ def test_functionapp_access_restriction_add_scm(self, resource_group, location):
JMESPathCheck('[1].action', 'Deny')
])

@unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
@ResourceGroupPreparer(parameter_name_for_location='location', location=WINDOWS_ASP_LOCATION_WEBAPP)
@StorageAccountPreparer(location=WINDOWS_ASP_LOCATION_WEBAPP)
def test_functionapp_access_restriction_remove_scm(self, resource_group, location):
Expand Down
Loading
Loading