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
29 changes: 29 additions & 0 deletions command-output/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Command Output Source

This folder holds generated, trimmed AzureFox example output for downstream wiki work.

It is intentionally neutral source material:

- not `wiki/seed`
- not product docs
- not a regression baseline

Current structure:

- `command-output/<command>/output.json`
- `command-output/<command>/table.txt`
- `command-output/chains/<family>/output.json`
- `command-output/chains/<family>/table.txt`

Generation rules:

- examples come from `tests/fixtures/lab_tenant`
- `metadata.generated_at` is normalized to `<generated_at>`
- top-level lists are trimmed to the first `3` entries to keep examples readable
- grouped chain families stay under `command-output/chains/` so they are separate from flat commands

To refresh the examples from current behavior:

```bash
python3 scripts/generate_command_output_examples.py
```
98 changes: 98 additions & 0 deletions command-output/acr/output.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
{
"findings": [],
"issues": [],
"metadata": {
"command": "acr",
"generated_at": "<generated_at>",
"schema_version": "1.2.0",
"subscription_id": "22222222-2222-2222-2222-222222222222",
"tenant_id": "11111111-1111-1111-1111-111111111111",
"token_source": null
},
"registries": [
{
"admin_user_enabled": true,
"anonymous_pull_enabled": true,
"broad_webhook_scope_count": 1,
"data_endpoint_enabled": true,
"enabled_webhook_count": 1,
"id": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg-containers/providers/Microsoft.ContainerRegistry/registries/acr-public-legacy",
"location": "eastus",
"login_server": "acr-public-legacy.azurecr.io",
"name": "acr-public-legacy",
"network_rule_bypass_options": "AzureServices",
"network_rule_default_action": "Allow",
"private_endpoint_connection_count": 0,
"public_network_access": "Enabled",
"quarantine_policy_status": "disabled",
"related_ids": [
"/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg-containers/providers/Microsoft.ContainerRegistry/registries/acr-public-legacy",
"/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg-containers/providers/Microsoft.ContainerRegistry/registries/acr-public-legacy/webhooks/push-all",
"/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg-containers/providers/Microsoft.ContainerRegistry/registries/acr-public-legacy/webhooks/delete-all"
],
"replication_count": 0,
"replication_regions": [],
"resource_group": "rg-containers",
"retention_policy_days": null,
"retention_policy_status": "disabled",
"sku_name": "Standard",
"state": "Succeeded",
"summary": "Container Registry 'acr-public-legacy' publishes login server 'acr-public-legacy.azurecr.io' and has no managed identity visible from the current read path. Visible auth posture: admin user enabled, anonymous pull enabled. Visible network posture: public network access Enabled, default action Allow, bypass AzureServices, no private endpoints visible. Visible service shape: SKU Standard, data endpoint enabled. Depth cues: 2 webhooks (1 enabled), 1 broad webhook scope(s), webhook actions delete, push, 0 replications, quarantine disabled, retention disabled, content trust disabled.",
"trust_policy_status": "disabled",
"trust_policy_type": null,
"webhook_action_types": [
"delete",
"push"
],
"webhook_count": 2,
"workload_client_id": null,
"workload_identity_ids": [],
"workload_identity_type": null,
"workload_principal_id": null
},
{
"admin_user_enabled": false,
"anonymous_pull_enabled": false,
"broad_webhook_scope_count": 0,
"data_endpoint_enabled": false,
"enabled_webhook_count": 1,
"id": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg-containers/providers/Microsoft.ContainerRegistry/registries/acr-ops-01",
"location": "eastus2",
"login_server": "acr-ops-01.azurecr.io",
"name": "acr-ops-01",
"network_rule_bypass_options": "None",
"network_rule_default_action": "Deny",
"private_endpoint_connection_count": 1,
"public_network_access": "Disabled",
"quarantine_policy_status": "enabled",
"related_ids": [
"/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg-containers/providers/Microsoft.ContainerRegistry/registries/acr-ops-01",
"99990000-0000-0000-0000-000000000031",
"/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg-containers/providers/Microsoft.ContainerRegistry/registries/acr-ops-01/webhooks/push-internal",
"/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg-containers/providers/Microsoft.ContainerRegistry/registries/acr-ops-01/replications/westus2",
"/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg-containers/providers/Microsoft.ContainerRegistry/registries/acr-ops-01/replications/northeurope"
],
"replication_count": 2,
"replication_regions": [
"northeurope",
"westus2"
],
"resource_group": "rg-containers",
"retention_policy_days": 30,
"retention_policy_status": "enabled",
"sku_name": "Premium",
"state": "Succeeded",
"summary": "Container Registry 'acr-ops-01' publishes login server 'acr-ops-01.azurecr.io' and uses managed identity (SystemAssigned). Visible auth posture: admin user disabled, anonymous pull disabled. Visible network posture: public network access Disabled, default action Deny, bypass None, 1 private endpoint(s). Visible service shape: SKU Premium, data endpoint disabled. Depth cues: 1 webhooks (1 enabled), webhook actions push, 2 replications across northeurope, westus2, quarantine enabled, retention enabled (30d), content trust enabled (notary).",
"trust_policy_status": "enabled",
"trust_policy_type": "notary",
"webhook_action_types": [
"push"
],
"webhook_count": 1,
"workload_client_id": "99990000-0000-0000-0000-000000000032",
"workload_identity_ids": [],
"workload_identity_type": "SystemAssigned",
"workload_principal_id": "99990000-0000-0000-0000-000000000031"
}
]
}
Loading
Loading