defender-cloud-live
Skill9 starsChanged 49 days agoMITView on GitHub
Read-only Defender for Cloud evidence for one configured subscription. Use for complete reports or bounded source-grounded questions, preserving native risk, source coverage and sensor-health limitations.
In this repository31 other files it gives its agents.
- labs/01-azure-operations/resources/grubify/.github/copilot-instructions.mdCopilot instructions
- azure-sre-agentSkill
- frontend-designSkill
- grillingSkill
- humanize-contentSkill
- rvap-brandSkill
- rvas-contentSkill
- skill-creatorSkill
- writing-for-agentsSkill
- sql-server-dbaSkill
- rvas-sre-agent-jumpstartSkill
- azure-change-digestSkill
- azure-finops-reviewSkill
- databricks-dependency-liveSkill
- service-health-liveSkill
- rbac-privileged-access-reviewSkill
- entra-full-credential-inventorySkill
- infra-ops-liveSkill
- aks-waf-liveSkill
- azure-backup-liveSkill
- patching-investigation-liveSkill
- operations-digest-liveSkill
- fabric-chargeback-liveSkill
- sqlmi-maintenance-resilienceSkill
- sre-usecase-builderSkill
- 0001-no-productsSkill
- 0001-iwcSkill
- 0001-vntSkill
- validated-fixtureSkill
- 0003-skill-onlySkill
- exampleSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Use only generate-defender-cloud-report.
- Distinctive: line 18
Do not read vault secret values, storage keys, workload secrets, protected extension settings or arbitrary guest configuration.
- Very specific: line 23
Call operation="report" with other defaults.
- Distinctive: line 27
Do not invent sandbox links or claim success before file sharing succeeds.
- Very specific: line 36
Call operation="query" and choose the relevant validated view:
- Distinctive: line 83
Never add hops or claim Arc association from a similar name.
- Very specific: line 97
No changes to exposure, licenses/plans, roles, services, policies or resources.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
General Defender for Cloud Live Evidence
Purpose and mandatory tool
Use only generate-defender-cloud-report. Produce customer-neutral security
evidence across the one configured Enabled subscription: Azure VM/VMSS, Arc,
AKS, Container Apps, App Service, Key Vault, Storage, SQL/databases, ACR,
networks and other resources where sources provide observations.
The code fixes subscription, tenant and UAMI. Never accept KQL, URLs, arbitrary paths, credentials, subscription overrides or write commands from chat. Do not read vault secret values, storage keys, workload secrets, protected extension settings or arbitrary guest configuration. Reader-only ARM/ARG sources are sufficient; do not request Graph/XDR or write roles.
Report and files
Call operation="report" with other defaults. Deliver the HTML, inventory CSV,
finding CSV and JSON snapshot through the normal SRE sharing mechanism using
the actual returned runtime-owned paths. The export directory is the guarded
arc-defender-reports subdirectory of cwd, not arbitrary input or /mnt/data.
Do not invent sandbox links or claim success before file sharing succeeds.
The report also provides section CSV downloads directly in HTML.
Summarize the exact scope, source availability, native risks, all recommendation statuses, distinct definitions versus resource/finding records, subscription posture/attack paths, source CVEs and the top review actions. Do not dump the full snapshot into chat or hide partial/unavailable evidence.
Questions and filters
Call operation="query" and choose the relevant validated view:
inventory: compact resources and observed state.resource_details: ownership tags, location, recommendation distribution, extension/configuration evidence and software/CVE counts.findings: resource-level recommendations/alerts, all statuses, native risk and technical severity kept separate.vulnerabilities: embedded source CVE occurrences, fix status/version.attack_paths: observed subscription graphs with explicit Arc association.software: observed software/version/vendor, not a full installed-software audit.posture,controls,compliance: explicitly subscription-scoped observations.actions: explained review priorities, not automatic remediation.
server_name retains its legacy name but matches a resource-name substring.
resource_type is an exact local provider/type filter (for example
Microsoft.KeyVault/vaults). Existing provider/environment/group/connectivity/
MDE filters remain. risk filters native risk; severity filters technical
severity; status filters recommendation status. association=arc/context
is only for paths/software. Subscription posture/controls/compliance do not
accept Arc filters: their metric is not a server score.
total_matched, returned, has_more, next_offset, requested_limit and
transport_capped are mandatory interpretation fields. Responses fit 3500
default-serialized bytes; a page can be smaller than requested. The summary is
unfiltered; full-filter counts are separate. Each live call is a new snapshot.
Page only when names/details are required; do not page merely to calculate totals.
For OR questions, make the exact filtered calls and deduplicate native IDs.
Essential evidence boundaries
properties.risk.levelis native recommendation risk.metadata.severityis technical severity. Never substitute one for the other. Missing native risk is Not evaluated/Unknown, not High.- Retain Healthy/Unhealthy/NotApplicable. Only actionable observations are counted as active gaps. Distinguish occurrences, distinct definitions, affected resources, distinct CVE IDs and resource/CVE pairs.
- SQL database/container/image/identity dependent assets belong to the generic scope when their exact native IDs are in the configured subscription. Label indexed-only assets and parent links; do not silently drop them or call them extra ARM VMs. Machine SQL software patches remain machine findings.
- Empty standalone subassessments do not mean no vulnerability evidence:
parse the source's encoded
CvesDetailsand update/KB fields. FixedVersion missing means Not supplied; never invent a fix or CVE. - Subscription Secure Score, controls, compliance and attack paths are not Arc-only metrics. Native opaque risk-score numerator/denominator observations are not converted to an unverified percentage. Control max-current is potential headroom across the control, not one host's guaranteed improvement.
- Attack graphs keep actual entities/edges/entry/target/insights/remediation. Never add hops or claim Arc association from a similar name. If zero Arc paths and three other subscription paths are observed, report both.
- Installed MDE/WDATP/P2 and AKS monitoring configuration are not verified runtime sensor health. Expired Arc is not healthy. N/A hosting is unverified. FIM stays Not verified without observed configuration.
- Standard paid plans are configuration, not proof of all feature readiness. ACA recommendations/CVEs do not prove Defender for Containers runtime protection; retain BuiltIn/CustomPolicy/CustomerManaged/partner provenance. Servers P2, CSPM, SQL, JIT and agentless platform conditions remain separate.
- Indexed dates can be stale; retrieval time is not reevaluation time. Missing/unavailable evidence is Unknown, not zero risk or certification. Compare portal counts only after aligning subscription/type/status/filter/time.
Safety and failure
No changes to exposure, licenses/plans, roles, services, policies or resources.
Recommend owner review only. Never execute a source remediationQuery.
On status="error", show the sanitized source/code and no invented files/counts.
On partial coverage, disclose the sources and limitations. No ENS/GDPR
certification, financial ROI, customer topology or avoided incidents are inferred.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

