-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ac64208
commit 73b1615
Showing
7 changed files
with
153 additions
and
112 deletions.
There are no files selected for viewing
71 changes: 71 additions & 0 deletions
71
policy/checkov/ActiveDirectoryUsedAuthenticationServiceFabric.azapi.mock.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"mock": { | ||
"default": { | ||
"resource_changes": [ | ||
{ | ||
"address": "azurerm_service_fabric_cluster.example", | ||
"mode": "managed", | ||
"type": "azapi_resource", | ||
"change": { | ||
"actions": [ | ||
"create" | ||
], | ||
"after": { | ||
"type": "Microsoft.ServiceFabric/clusters@2021-06-01", | ||
"body": { | ||
"properties": { | ||
"azureActiveDirectory": { | ||
"tenantId": "00000000-0000-0000-0000-000000000000" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"known_after_apply": { | ||
"resource_changes": [ | ||
{ | ||
"address": "azurerm_service_fabric_cluster.example", | ||
"mode": "managed", | ||
"type": "azapi_resource", | ||
"change": { | ||
"actions": [ | ||
"create" | ||
], | ||
"after": { | ||
"type": "Microsoft.ServiceFabric/clusters@2021-06-01" | ||
}, | ||
"after_unknown": { | ||
"body": { | ||
"properties": { | ||
"azureActiveDirectory": { | ||
"tenantId": true | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"invalid_omitted": { | ||
"resource_changes": [ | ||
{ | ||
"address": "azurerm_service_fabric_cluster.example", | ||
"mode": "managed", | ||
"type": "azapi_resource", | ||
"change": { | ||
"actions": [ | ||
"create" | ||
], | ||
"after": { | ||
"type": "Microsoft.ServiceFabric/clusters@2021-06-01" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
policy/checkov/ActiveDirectoryUsedAuthenticationServiceFabric.mock.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"mock": { | ||
"default": { | ||
"resource_changes": [ | ||
{ | ||
"address": "azurerm_service_fabric_cluster.example", | ||
"mode": "managed", | ||
"type": "azurerm_service_fabric_cluster", | ||
"change": { | ||
"actions": [ | ||
"create" | ||
], | ||
"after": { | ||
"name": "example-servicefabric", | ||
"location": "westeurope", | ||
"resource_group_name": "example-resources", | ||
"azure_active_directory": [ | ||
{ | ||
"tenant_id": "00000000-0000-0000-0000-000000000000" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"known_after_apply": { | ||
"resource_changes": [ | ||
{ | ||
"address": "azurerm_service_fabric_cluster.example", | ||
"mode": "managed", | ||
"type": "azurerm_service_fabric_cluster", | ||
"change": { | ||
"actions": [ | ||
"create" | ||
], | ||
"after": { | ||
}, | ||
"after_unknown": { | ||
"azure_active_directory": [ | ||
{ | ||
"tenant_id": true | ||
} | ||
] | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"invalid_omitted": { | ||
"resource_changes": [ | ||
{ | ||
"address": "azurerm_service_fabric_cluster.example", | ||
"mode": "managed", | ||
"type": "azurerm_service_fabric_cluster", | ||
"change": { | ||
"actions": [ | ||
"create" | ||
], | ||
"after": { | ||
"azure_active_directory": [ | ||
{ | ||
} | ||
] | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 0 additions & 44 deletions
44
policy/checkov/azurerm/ActiveDirectoryUsedAuthenticationServiceFabric.mock.json.bak
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
policy/checkov/azurerm/ActiveDirectoryUsedAuthenticationServiceFabric.py.bak
This file was deleted.
Oops, something went wrong.
44 changes: 0 additions & 44 deletions
44
policy/checkov/azurerm/ActiveDirectoryUsedAuthenticationServiceFabric.tf.bak
This file was deleted.
Oops, something went wrong.