Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APPSEC-1049 Validate S6382 for ARM #3024

Merged
merged 1 commit into from
Sep 11, 2023
Merged
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
14 changes: 7 additions & 7 deletions rules/S6382/azureresourcemanager/rule.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ resource example 'Microsoft.SignalRService/webPubSub@2020-07-01-preview' = {
name: 'example'
properties: {
tls: {
clientCertEnabled: true // Compliant
clientCertEnabled: true
}
}
}
Expand Down Expand Up @@ -320,7 +320,7 @@ resource example 'Microsoft.SignalRService/webPubSub@2020-07-01-preview' = {
resource example 'Microsoft.Web/sites@2015-08-01' = {
name: 'example'
properties: {
clientCertEnabled: true // Compliant
clientCertEnabled: true
clientCertMode: 'Required'
}
}
Expand Down Expand Up @@ -353,7 +353,7 @@ resource example 'Microsoft.Web/sites@2015-08-01' = {
name: 'example'
properties: {
clientCertEnabled: true
clientCertMode: 'Required' // Sensitive
clientCertMode: 'Required'
}
}
----
Expand Down Expand Up @@ -384,7 +384,7 @@ resource example 'Microsoft.App/containerApps@2022-03-01' = {
name: 'example'
properties: {
ingress: {
clientCertificateMode: 'require' // Sensitive
clientCertificateMode: 'require'
}
}
}
Expand Down Expand Up @@ -420,7 +420,7 @@ resource example 'Microsoft.DataFactory/factories/linkedservices@2018-06-01' = {
properties: {
type: 'Web'
typeProperties: {
authenticationType: 'ClientCertificate' // Compliant
authenticationType: 'ClientCertificate'
}
}
}
Expand Down Expand Up @@ -455,7 +455,7 @@ Where a list of permitted client certificates must be provided:
resource example 'Microsoft.DocumentDB/cassandraClusters@2021-10-15' = {
name: 'example'
properties: {
clientCertificates: [ // Compliant
clientCertificates: [
{
pem: '[base64-encoded certificate]'
}
Expand Down Expand Up @@ -497,7 +497,7 @@ resource example 'Microsoft.ContainerRegistry/registries/tokens@2022-12-01' = {
name: 'example'
properties: {
credentials: {
certificates: [ // Compliant
certificates: [
{
name: 'certificate1'
encodedPemCertificate: '[base64-encoded certificate]'
Expand Down