Skip to content

Add IAM Default Role Flag to IAM Enumerate#153

Merged
payoub125 merged 1 commit intodevelopfrom
philip/sec-358-add-no-default-iam-roles-flag-to-iam-cli-tool
Jan 20, 2026
Merged

Add IAM Default Role Flag to IAM Enumerate#153
payoub125 merged 1 commit intodevelopfrom
philip/sec-358-add-no-default-iam-roles-flag-to-iam-cli-tool

Conversation

@payoub125
Copy link
Copy Markdown
Contributor

@payoub125 payoub125 commented Jan 20, 2026

Note

Introduces optional filtering of AWS-managed IAM roles during enumeration.

  • Adds --exclude-default-roles flag to iam enumerate and threads ExcludeDefaultRoles through IamEnumerateConfig
  • Updates API schema (fern/definition/iam/enumerate.yml) and bumps Fern config version
  • Extends role enumeration to accept the flag and filter out default roles via isDefaultAwsRole (service-linked, Identity Center, Control Tower) with supporting helpers and regex
  • Adjusts logging and report wiring to reflect filtered role counts

Written by Cursor Bugbot for commit 8f6708b. This will update automatically on new commits. Configure here.

@payoub125 payoub125 self-assigned this Jan 20, 2026
@payoub125 payoub125 force-pushed the philip/sec-358-add-no-default-iam-roles-flag-to-iam-cli-tool branch from 9ab9b0b to 8f6708b Compare January 20, 2026 15:17
@payoub125 payoub125 enabled auto-merge (squash) January 20, 2026 15:22
@payoub125 payoub125 merged commit 37931ee into develop Jan 20, 2026
14 checks passed
@payoub125 payoub125 deleted the philip/sec-358-add-no-default-iam-roles-flag-to-iam-cli-tool branch January 20, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants