parliament

AWS IAM linting library

BSD-3-CLAUSE License

Downloads
36.1K
Stars
1K
Committers
26

Bot releases are hidden (Show)

parliament - 1.63 Latest Release

Published by rjcassara- 3 months ago

Security updates, and changes to iam_definition

What's Changed

New Contributors

Full Changelog: https://github.com/duo-labs/parliament/compare/1.6.2...1.63

parliament - 1.6.2

Published by 0xdabbad00 over 1 year ago

Updates IAM definition

parliament - 1.6.1

Published by 0xdabbad00 about 2 years ago

  • Bumps up size of lru_cache for a large speed improvement
  • Adds more global variables
  • Fixes unit tests
parliament - 1.6.0

Published by 0xdabbad00 about 2 years ago

parliament - 1.5.2

Published by 0xdabbad00 almost 3 years ago

Undo attempted bug fix

parliament - 1.5.1

Published by 0xdabbad00 almost 3 years ago

Bug fix

parliament - 1.5.0

Published by 0xdabbad00 almost 3 years ago

  • Updates IAM data
  • Adds community auditor SINGLE_VALUE_CONDITION_TOO_PERMISSIVE for this confusing aspect of IAM described here thanks to @patrobinson
  • Adds RESOURCE_EFFECTIVELY_STAR for when the resource contains more than * but is still effectively * thanks to @raghavkaul
  • Bug fix: --directory option works again thanks to @frek818
parliament - 1.4.1

Published by 0xdabbad00 about 3 years ago

  • Update IAM data
parliament - 1.4.0

Published by 0xdabbad00 over 3 years ago

  • Updates IAM data
  • Add stricter checking to resource attributes #177 - thanks @briandbecker!
  • Fixes --aws-managed-policies and --auth-details-file which were breaking due to json-cfg #175 - thanks @RyanJarv!
  • Updated AWS principal regex to allow CloudFront OAI ARNs, added a test #174 - thanks @seth-carroll!
parliament - 1.3.1

Published by 0xdabbad00 over 3 years ago

  • Updates IAM data
  • Validate use of NotResource and NotAction based on AWS best practices via #166 from @raghavkaul
  • Find all unknown Actions and unknown Prefixes in a Statement via #165 from @raghavkaul
parliament - 1.3.0

Published by 0xdabbad00 almost 4 years ago

  • Bug fix from @piax93 where node_exists was being called but did not exist (#158)
  • Bug fix from @KevinHock where an INVALID_ARN was causing other findings to incorrectly occur (#159)
  • Readme now references https://github.com/z0ph/aws_managed_policies and @KevinHock also made some spelling fixes.
  • Updates IAM data
parliament - 1.2.3

Published by 0xdabbad00 almost 4 years ago

The AWS doc format changed (#155) so this fixes that and updates the IAM data.

parliament - 1.2.2

Published by 0xdabbad00 almost 4 years ago

Updates IAM.
Fixes #153 (an issue with NotAction) via #151 by @danielpops

parliament - 1.2.1

Published by 0xdabbad00 about 4 years ago

Updates IAM data

parliament - 1.2.0

Published by 0xdabbad00 about 4 years ago

Bug fixes related to identifying the line numbers for locations from #143 and #142.

parliament - 1.0.0

Published by 0xdabbad00 about 4 years ago

Findings now include line numbers and column via #139. This changes the location field so it no longer attempts to just identify the Statement.

This isn't exactly a huge change, but I should have bumped this project to 1.0 a long time ago.

Also a bug fix for ignoring AWS policies via #136

parliament - 0.6.0

Published by 0xdabbad00 over 4 years ago

This improves the RESOURCE_STAR finding via #132 by @dgubitosi, such that given ec2:Create* on Resource *, it will call out specifically which actions from that expansion could have more fine-grained resources, as opposed to just telling you ec2:Create* is bad.

Also updates the privilege info.

parliament - 0.5.0

Published by 0xdabbad00 over 4 years ago

  • IAM data updated
  • Python 3.6 or above is now enforced thanks to @michael-k and @dgubitosi in #121
  • Parliament no longer crashes when it encounters CloudFormation concepts in policies that are not proper IAM thanks to @michael-k in #124
  • New community auditor that takes user-provided config values and checks policies for presence of sensitive action/resource thanks to @xen0l in #114

From now on for the version that is formatted as major.minor.patch. I'm going to bump the minor version whenever new functionality is added. I'll bump the patch if the update is only for IAM definition or a bug.

parliament - 0.4.14

Published by 0xdabbad00 over 4 years ago

Reference added to statements to keep track of what policy they are from (#115). Use by CloudMapper's access_check command.

parliament - 0.4.13

Published by 0xdabbad00 over 4 years ago

Improved performance from PR #110 by @yoava333 magically makes Parliament run up to 100x faster!

Updated privilege info in #113.