Skip to main content

Get New Least Privilege Access Suggestions for a Resource

GET 

/iam/api/v1/resources/:resourceId/custom-least-privileged-access

Generate a custom least privileged access configuration for the resource. Applying this configuration will minimize the number of policies/roles used while preserving all the actions used in the last specified X days

Request

Path Parameters

    resourceId stringrequired

    The resource ID

Query Parameters

    output_format stringrequired

    Possible values: [JSON, TERRAFORM, CF]

    Output format.

    lookback_duration_days int32required

    Amount of days to look back for used actions

    Example: 90

Responses

OK

Schema
    nextPageToken string

    Next page token

    permissionsInAssetCount int32

    Number of actions in asset

    permissionsInLeastPrivilegedCount int32

    Number of actions in least privileged access

    analysis object[]

    Least Privileged result analysis

  • Array [
  • action string
    configurationName string
    keep boolean
  • ]
  • value object[]

    Least Privileged Access items

  • Array [
  • formatType string

    Format type of the access policy

    snippet string

    The access policy

  • ]
Loading...