Skip to main content

Get New Least Privilege Access Suggestions for an Asset

GET 

/iam/api/v1/assets/:assetId/custom-least-privileged-access

Generate Custom least privileged access configuration for the asset. Applying this configuration will minimize the amount of policies/roles used while preserve all the actions used in the last specified last X days

Request

Path Parameters

    assetId stringrequired

    the UAI asset Id

    Example: 681390424b288d835f5cd03e7bfb0993

Query Parameters

    output_format int32required

    Output format type. One of: JSON / TERRAFORM/ CF

    Example: JSON
    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...