agentleFS
MicrosoftKnown publishermicrosoft/frontier-sre-agent-rvas/usecases/0079-entra-credential-expiration-audit/manifests/skills/entra-full-credential-inventory/SKILL.md

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.

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
  1. Distinctive:

    Do not include federated identity credentials.

    line 17
  2. Distinctive:

    Do not make any change in Entra ID or in Azure.

    line 18
  3. Very specific:

    Never display, store or log tokens, secrets, secretText, certificate content, private keys or unfiltered Graph responses.

    line 25
  4. Distinctive:

    Use a single UTC instant:

    line 38

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 servicePrincipalType is ManagedIdentity.
  • 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:

  1. 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_path under /mnt/data cannot be downloaded from the chat).
  2. A concise executive summary.
  3. Coverage.
  4. Counts by status.
  5. Action required if there are EXPIRED or CRITICAL credentials, or if coverage is partial.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.