DOC-311 Update IAM docs for descriptive enforcement denial messages#798
Open
blkgrlcto wants to merge 2 commits into
Open
DOC-311 Update IAM docs for descriptive enforcement denial messages#798blkgrlcto wants to merge 2 commits into
blkgrlcto wants to merge 2 commits into
Conversation
- explainable-iam.md - Rewrote the intro to cover both the API response and log output. - Replaced the generic error and the old multi-line DEBUG:localstack_ext… breakdown with the new descriptive error and single Policy Engine log line. - Added a Reading denial messages section (message anatomy + explicit/implicit distinction) and an Inline policies subsection showing that LocalStack names the specific inline policy, unlike AWS. - Fixed a pre-existing showshowLineNumbers → showLineNumbers typo. - iam-policy-enforcement.md - Added an intro note + cross-link to Explainable IAM. - Replaced the generic error and the old l.s.i.p.handler … denied. log line in the bucket example with the new descriptive forms.
blkgrlcto
requested review from
HarshCasper,
quetzalliwrites and
remotesynth
as code owners
July 20, 2026 11:09
CP enforcement: add a "Service Control Policies" section to the enforcement guide explaining SCP guardrails and walking through an SCP that overrides an identity-based Allow.
Deploying localstack-docs with
|
| Latest commit: |
6f818e5
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://43e5a58d.localstack-docs.pages.dev |
| Branch Preview URL: | https://doc-311-doc-iam-actionable-d-7jm9.localstack-docs.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the IAM security-testing docs to reflect the new descriptive denial messages from the enforcement engine. Denials now surface in both the API response and the LocalStack logs, naming the denied action, the responsible policy type and document, and whether the denial was explicit or implicit — replacing the old generic Access to the specified resource is denied message.
This PR closes DOC-311 and DOC-271
explainable-iam.md
iam-policy-enforcement.md
DenySCP overrides an identity-basedAllow.