entra-full-credential-inventory
Skill9 starsChanged 50 days agoMITView on GitHub
Safe, read-only procedure to audit Microsoft Entra credential expiration for Applications and non-managed Service Principals.
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
- defender-cloud-liveSkill
- service-health-liveSkill
- rbac-privileged-access-reviewSkill
- 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
4 rules. About 0 are common, 3 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Do not include federated identity credentials.
- Distinctive: line 18
Do not make any change in Entra ID or in Azure.
- Very specific: line 25
Never display, store or log tokens, secrets, secretText, certificate content, private keys or unfiltered Graph responses.
- Distinctive: line 38
Use a single UTC instant:
≈ “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
Entra Full Credential Inventory Audit
Objective
Produce a monthly expiration audit of Microsoft Entra credentials.
Scope
- Include Application Registrations.
- Include Service Principals.
- Exclude Service Principals whose
servicePrincipalTypeisManagedIdentity. - Do not include federated identity credentials.
- Do not make any change in Entra ID or in Azure.
Mandatory tool
Use generate-entra-credential-expiration.
Security
- Read-only.
- Never display, store or log tokens, secrets,
secretText, certificate content, private keys or unfiltered Graph responses. - An authentication, permission or pagination error is not the same as an empty inventory.
Validation
Require and report:
- Applications discovered.
- Service Principals discovered.
- Managed Identities excluded.
- Pagination completed for both inventories.
- Complete or partial coverage.
- Count by risk status.
Classification
Use a single UTC instant:
- EXPIRED: <= 0 days.
- CRITICAL: 1-7 days.
- EXPIRING SOON: 8-30 days.
- EXPIRING: 31-90 days.
- Valid: > 90 days.
Output
Deliver:
- The HTML file generated by the tool. If the tool returns
report_url, show it unchanged as the Markdown download link of the HTML (report_pathunder/mnt/datacannot be downloaded from the chat). - A concise executive summary.
- Coverage.
- Counts by status.
- Action required if there are EXPIRED or CRITICAL credentials, or if coverage is partial.
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.

