steampipe plugin install aws

Table: aws_ssoadmin_managed_policy_attachment - Query AWS SSO Managed Policy Attachments using SQL

The AWS SSO Managed Policy Attachment is a feature of AWS Single Sign-On (SSO) service. It allows you to attach and manage access permissions for AWS SSO users and groups through managed policies. This helps in streamlining the process of assigning permissions, ensuring secure access to AWS resources.

Table Usage Guide

The aws_ssoadmin_managed_policy_attachment table in Steampipe provides you with information about the managed policy attachments of AWS SSO permission sets. This table allows you, as a DevOps engineer, to query policy-specific details, including the instance ARN, permission set ARN, and managed policy ARN. You can utilize this table to gather insights on policy attachments, such as the attached policies for each permission set, and more. The schema outlines the various attributes of the managed policy attachment for you, including the instance ARN, permission set ARN, and managed policy ARN.

Examples

Basic info

Analyze the connection between AWS SSO managed policy attachments and permission sets to understand the allocation of permissions within your AWS environment. This can help you maintain security and compliance by ensuring correct policy attachments.

select
mpa.managed_policy_arn,
mpa.name
from
aws_ssoadmin_managed_policy_attachment as mpa
join aws_ssoadmin_permission_set as ps on mpa.permission_set_arn = ps.arn;
select
mpa.managed_policy_arn,
mpa.name
from
aws_ssoadmin_managed_policy_attachment as mpa
join aws_ssoadmin_permission_set as ps on mpa.permission_set_arn = ps.arn;

Schema for aws_ssoadmin_managed_policy_attachment

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
account_idtextThe AWS Account ID in which the resource is located.
instance_arntextThe Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
managed_policy_arntextThe ARN of the IAM managed policy.
nametextThe name of the IAM managed policy.
partitiontextThe AWS partition in which the resource is located (aws, aws-cn, or aws-us-gov).
permission_set_arntext=The ARN of the permission set.
regiontextThe AWS Region in which the resource is located.
titletextTitle of the resource.

Export

This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.

You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh script:

/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- aws

You can pass the configuration to the command with the --config argument:

steampipe_export_aws --config '<your_config>' aws_ssoadmin_managed_policy_attachment