azure-storage-account-contains-table
match (record)
{
"field": "id",
"resource_type": "Microsoft.Storage/storageAccounts/tableServices/tables"
}
emit
| source type | ObjectStorage |
|---|---|
| target type | NoSQLDatabase |
| source | <storageAccount node> |
| target | <table node> |
Narrative
{account.name} contains table {table.name}.
Raw rule rules/explicit/azure-storage.yaml
id: azure-storage-account-contains-table
emits: Contains
applies_to:
- azure
match_record:
resource_type: Microsoft.Storage/storageAccounts/tableServices/tables
field: id
emit:
source_type: ObjectStorage
target_type: NoSQLDatabase
source: <storageAccount node>
target: <table node>
api_source: Microsoft.Storage/storageAccounts/tableServices/tables GET
evidence_field: id
narrative: '{account.name} contains table {table.name}.'