azure-storage-account-contains-table

explicit azure emits Contains

match (record)

{ "field": "id", "resource_type": "Microsoft.Storage/storageAccounts/tableServices/tables" }

emit

source typeObjectStorage
target typeNoSQLDatabase
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}.'
move · open · esc close