Skip to content
/ iam-lint Public

Github action for linting AWS IAM policy documents

License

Notifications You must be signed in to change notification settings

xen0l/iam-lint

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

iam-lint

Github action for linting AWS IAM policy documents

Inputs

path

Path to folder with IAM policy document files that is passed to 'find' command. This should be a shell glob expression.

Required: False

Default: '.'

file_suffix

IAM policy document file suffix

Required" False

Default: 'json'

minimum_severity

Minimum severity of findings to display (passed to parliament).

Required: False

Default: ''

config

Custom config file (passed to parliament).

Required: False

Default: ''

private_auditors

Private auditors path (passed to parliament).

Required: False

Default: ''

Example usage

Without specifying a path

- uses: actions/checkout@v2
- uses: xen0l/iam-lint@v1

With specifying a path

- uses: actions/checkout@v2
- uses: xen0l/iam-lint@v1
  with:
    path: 'policies'

Credits

This action would not be possible without parliament. Special thanks goes to Scott piper and other contributors.