Topic lessonTopic: Applied GitHub Actions and SQL Server recovery labs
Exercise SCP, RCP and IAM on one synthetic API request
SCPs and RCPs do not grant access. This exercise uses a supported member resource without a separate grant path.
Distinguish a missing grant from a policy denial.
The cases use fictional inputs.
What to predict
SCPs and RCPs do not grant access. This exercise uses a supported member resource without a separate grant path.
- IAM permission grants the request → SCPAlign conditions
- SCP → RCPCompare outcomes
- RCP → DecisionVerify the decision
- IAM permission grants the request
- Yes / No
- SCP
- No matching deny / Explicit deny
- RCP
- No matching deny / Explicit deny
- Decision
- Distinguish a missing grant from a policy denial.
Compare the cases
| Case | Conditions | Decision |
|---|---|---|
| Trial 1 | IAM permission grants the request Yes, SCP No matching deny, RCP No matching deny | Allowed in this exercise under the stated assumptions. |
| Trial 2 | IAM permission grants the request Yes, SCP Explicit deny, RCP No matching deny | Denied by the SCP in this model. Review the member account control. |
| Trial 3 | IAM permission grants the request Yes, SCP No matching deny, RCP Explicit deny | Denied by the RCP in this model. Review the control on the resource. |
| Trial 4 | IAM permission grants the request No, SCP No matching deny, RCP No matching deny | Missing IAM grant. Satisfying a policy limit is not a grant. |
Acceptance and limits
The exercise models one candidate grant and two controls. It omits full policy language, exceptions and combined deny analysis.
Read the initial conditions and operational goal.
Change one condition and compare the decision.
Record the model boundary and outstanding checks.
Change a condition
The exercise models one candidate grant and two controls. It omits full policy language, exceptions and combined deny analysis.
Allowed in this exercise under the stated assumptions.
{"allowed":"Allowed in this exercise under the stated assumptions.","scp":"Denied by the SCP in this model. Review the member account control.","rcp":"Denied by the RCP in this model. Review the control on the resource.","missing":"Missing IAM grant. Satisfying a policy limit is not a grant."}Check your understanding
Choose an option to see the result and explanation.
Check, then explain in your own words
- Read the initial conditions and operational goal.
- Change one condition and compare the decision.
- Record the model boundary and outstanding checks.
Check your understanding: Distinguish a missing grant from a policy denial.
The exercise models one candidate grant and two controls. It omits full policy language, exceptions and combined deny analysis.
Record the model boundary and outstanding checks.
Sources and conditions checked
The official references used in this lesson are collected here with their scope, conditions and corresponding sections. Independent expert review and live AWS comparison have not been performed.
- Resource control policies (RCPs)Checked:
Scope and conditionsSCPs and RCPs do not grant access. This exercise uses a supported member resource without a separate grant path.
Used in this lessonWhat to predict Acceptance and limits