UtilitySansar
Cloud

AWS IAM Policy Linter

Paste an AWS IAM policy JSON document to validate its structure and surface common security red flags — Allow "*" on Action and Resource, public Principals, conflicting Action/NotAction, missing Version, and malformed service:Operation names.

도구 요약

이 도구는 구조화된 입력을 받아 서버 업로드 없이 브라우저에서 결정적인 출력을 반환합니다.

도구 이름
AWS IAM Policy Linter
입력 의도
변환·검증·분석할 원본 콘텐츠를 제공하세요.
출력 의도
복사, 재사용 또는 디버깅에 적합한 정규화된 출력을 받습니다.
예시 입력
{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Action":"*","Resource":"*"}]}
예시 출력
Error: Allow "*" on Action and Resource grants full administrator access — nearly always too broad.

Local processing / privacy notice

  • Inputs are processed in your browser session.
  • We do not send raw input/output values to our analytics endpoint.
  • Use reset/clear actions when working with confidential data.
The policy is parsed and checked entirely in your browser.
Load example:
Statements
1
Errors
0
Warnings
0

No issues found. The policy is syntactically well-formed and free of common wildcard red flags.

Formatted policy
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "ReadBucket",
      "Effect": "Allow",
      "Action": [
        "s3:GetObject",
        "s3:ListBucket"
      ],
      "Resource": [
        "arn:aws:s3:::my-bucket",
        "arn:aws:s3:::my-bucket/*"
      ]
    }
  ]
}

도구 소개

Paste an AWS IAM policy JSON document to validate its structure and surface common security red flags — Allow "*" on Action and Resource, public Principals, conflicting Action/NotAction, missing Version, and malformed service:Operation names.

도구 개요

IAM policies are famous for failing silently: they parse fine, attach cleanly, and still grant everything in the account. This linter focuses on the misconfigurations that show up in real security reviews: full-wildcard Allow statements, public-Principal policies with no Condition, missing or outdated Version, and Resource values that do not look like ARNs. It does not resolve policy evaluation (no simulation across identity, resource, SCP, and session policies) — treat it as a fast first-pass editor check, not a replacement for IAM Access Analyzer.

사용 사례

  • Catch an accidental Action "*" / Resource "*" before you attach the policy
  • Flag publicly accessible S3 bucket policies before deploying
  • Enforce Version "2012-10-17" across all new policies
  • Spot typos in service:Operation strings during code review

입력/출력 예시

입력 의도
{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Action":"*","Resource":"*"}]}
출력 의도
Error: Allow "*" on Action and Resource grants full administrator access — nearly always too broad.
입력 의도
{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Principal":"*","Action":"s3:GetObject","Resource":"arn:aws:s3:::b/*"}]}
출력 의도
Error: Principal "*" with Effect Allow and no Condition exposes the resource publicly.

자주 묻는 질문

Is this a replacement for IAM Access Analyzer?+
No. Access Analyzer runs AWS-side, has the service vocabulary, and can simulate cross-account access. This tool is a client-side linter for the common mistakes you can catch in an editor — it never contacts AWS.
Does it check for deprecated actions or typos?+
It checks that action strings match the "service:Operation" shape. It does not cross-reference the live AWS action catalog — a typo like "s3:GetObjetc" would pass the shape test.
Does my policy leave the browser?+
No. Parsing and linting happen locally. Nothing is uploaded.

다른 도구 보기

아래의 Cloud 카테고리에서 관련 유틸리티를 찾아보세요.

전체 Cloud 보기

관련 도구

유용할 수 있는 엄선된 유틸리티