Skip to content

InternalAccessDetails

Source code in docs_src/capo_accessanalyzer/types/internal_access_details.py
class InternalAccessDetails(TypedDict, closed=True):
    action: NotRequired["capo_accessanalyzer.types.action_list.ActionList"]
    """<p>The action in the analyzed policy statement that has internal access permission to use.</p>"""
    condition: NotRequired[
        "capo_accessanalyzer.types.condition_key_map.ConditionKeyMap"
    ]
    """<p>The condition in the analyzed policy statement that resulted in an internal access finding.</p>"""
    principal: NotRequired["capo_accessanalyzer.types.principal_map.PrincipalMap"]
    """<p>The principal that has access to a resource within the internal environment.</p>"""
    principal_owner_account: NotRequired["str"]
    """<p>The Amazon Web Services account ID that owns the principal identified in the internal access finding.</p>"""
    access_type: NotRequired[
        "capo_accessanalyzer.types.internal_access_type.InternalAccessType"
    ]
    """<p>The type of internal access identified in the finding. This indicates how the access is granted within your Amazon Web Services environment.</p>"""
    principal_type: NotRequired[
        "capo_accessanalyzer.types.principal_type.PrincipalType"
    ]
    """<p>The type of principal identified in the internal access finding, such as IAM role or IAM user.</p>"""
    sources: NotRequired[
        "capo_accessanalyzer.types.finding_source_list.FindingSourceList"
    ]
    """<p>The sources of the internal access finding. This indicates how the access that generated the finding is granted within your Amazon Web Services environment.</p>"""
    resource_control_policy_restriction: NotRequired[
        "capo_accessanalyzer.types.resource_control_policy_restriction.ResourceControlPolicyRestriction"
    ]
    """<p>The type of restriction applied to the finding by the resource owner with an Organizations resource control policy (RCP).</p> <ul> <li> <p> <code>APPLICABLE</code>: There is an RCP present in the organization but IAM Access Analyzer does not include it in the evaluation of effective permissions. For example, if <code>s3:DeleteObject</code> is blocked by the RCP and the restriction is <code>APPLICABLE</code>, then <code>s3:DeleteObject</code> would still be included in the list of actions for the finding. Only applicable to internal access findings with the account as the zone of trust. </p> </li> <li> <p> <code>FAILED_TO_EVALUATE_RCP</code>: There was an error evaluating the RCP.</p> </li> <li> <p> <code>NOT_APPLICABLE</code>: There was no RCP present in the organization. For internal access findings with the account as the zone of trust, <code>NOT_APPLICABLE</code> could also indicate that there was no RCP applicable to the resource.</p> </li> <li> <p> <code>APPLIED</code>: An RCP is present in the organization and IAM Access Analyzer included it in the evaluation of effective permissions. For example, if <code>s3:DeleteObject</code> is blocked by the RCP and the restriction is <code>APPLIED</code>, then <code>s3:DeleteObject</code> would not be included in the list of actions for the finding. Only applicable to internal access findings with the organization as the zone of trust. </p> </li> </ul>"""
    service_control_policy_restriction: NotRequired[
        "capo_accessanalyzer.types.service_control_policy_restriction.ServiceControlPolicyRestriction"
    ]
    """<p>The type of restriction applied to the finding by an Organizations service control policy (SCP).</p> <ul> <li> <p> <code>APPLICABLE</code>: There is an SCP present in the organization but IAM Access Analyzer does not include it in the evaluation of effective permissions. Only applicable to internal access findings with the account as the zone of trust. </p> </li> <li> <p> <code>FAILED_TO_EVALUATE_SCP</code>: There was an error evaluating the SCP.</p> </li> <li> <p> <code>NOT_APPLICABLE</code>: There was no SCP present in the organization. For internal access findings with the account as the zone of trust, <code>NOT_APPLICABLE</code> could also indicate that there was no SCP applicable to the principal.</p> </li> <li> <p> <code>APPLIED</code>: An SCP is present in the organization and IAM Access Analyzer included it in the evaluation of effective permissions. Only applicable to internal access findings with the organization as the zone of trust. </p> </li> </ul>"""

access_type instance-attribute

access_type: NotRequired[InternalAccessType]

The type of internal access identified in the finding. This indicates how the access is granted within your Amazon Web Services environment.

action instance-attribute

action: NotRequired[ActionList]

The action in the analyzed policy statement that has internal access permission to use.

condition instance-attribute

condition: NotRequired[ConditionKeyMap]

The condition in the analyzed policy statement that resulted in an internal access finding.

principal instance-attribute

principal: NotRequired[PrincipalMap]

The principal that has access to a resource within the internal environment.

principal_owner_account instance-attribute

principal_owner_account: NotRequired[str]

The Amazon Web Services account ID that owns the principal identified in the internal access finding.

principal_type instance-attribute

principal_type: NotRequired[PrincipalType]

The type of principal identified in the internal access finding, such as IAM role or IAM user.

resource_control_policy_restriction instance-attribute

resource_control_policy_restriction: NotRequired[ResourceControlPolicyRestriction]

The type of restriction applied to the finding by the resource owner with an Organizations resource control policy (RCP).

  • APPLICABLE: There is an RCP present in the organization but IAM Access Analyzer does not include it in the evaluation of effective permissions. For example, if s3:DeleteObject is blocked by the RCP and the restriction is APPLICABLE, then s3:DeleteObject would still be included in the list of actions for the finding. Only applicable to internal access findings with the account as the zone of trust.

  • FAILED_TO_EVALUATE_RCP: There was an error evaluating the RCP.

  • NOT_APPLICABLE: There was no RCP present in the organization. For internal access findings with the account as the zone of trust, NOT_APPLICABLE could also indicate that there was no RCP applicable to the resource.

  • APPLIED: An RCP is present in the organization and IAM Access Analyzer included it in the evaluation of effective permissions. For example, if s3:DeleteObject is blocked by the RCP and the restriction is APPLIED, then s3:DeleteObject would not be included in the list of actions for the finding. Only applicable to internal access findings with the organization as the zone of trust.

service_control_policy_restriction instance-attribute

service_control_policy_restriction: NotRequired[ServiceControlPolicyRestriction]

The type of restriction applied to the finding by an Organizations service control policy (SCP).

  • APPLICABLE: There is an SCP present in the organization but IAM Access Analyzer does not include it in the evaluation of effective permissions. Only applicable to internal access findings with the account as the zone of trust.

  • FAILED_TO_EVALUATE_SCP: There was an error evaluating the SCP.

  • NOT_APPLICABLE: There was no SCP present in the organization. For internal access findings with the account as the zone of trust, NOT_APPLICABLE could also indicate that there was no SCP applicable to the principal.

  • APPLIED: An SCP is present in the organization and IAM Access Analyzer included it in the evaluation of effective permissions. Only applicable to internal access findings with the organization as the zone of trust.

sources instance-attribute

sources: NotRequired[FindingSourceList]

The sources of the internal access finding. This indicates how the access that generated the finding is granted within your Amazon Web Services environment.