Skip to content
shield

GitHub Action

iam-lint

v2 Latest version

iam-lint

shield

iam-lint

Github Action to lint AWS IAM policy document files with parliament from DUo Labs

Installation

Copy and paste the following snippet into your .yml file.

              

- name: iam-lint

uses: xen0l/iam-lint@v2

Learn more about this action in xen0l/iam-lint

Choose a version

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.