Entitlements

The following are Autonomous Identity filtering by entitlements endpoints:

GET Filters by Entt Owners

Get filters by entitlement owner.

Endpoint

/api/entitlements/filters?by=entitlementOwner&ownerId=timothy.slack

Authorization

Bearer Token <JWT-value>
GET Filters by Supervisor

Get filters by supervisors.

Endpoint

/api/entitlements/filters?by=supervisor&ownerId=albert.pardini

Authorization

Bearer Token <JWT-value>

Body

by	     supervisor
ownerId	 albert.pardini

Example Request

curl --location --request GET '/api/entitlements/filters&#63;by=supervisor&amp;ownerId=albert.pardini' \
--header 'content-type: application/json'
POST Statistics by Entt Owner

Set filters by entitlement owners.

Endpoint

/api/entitlements/stats?by=entitlementOwner

Authorization

Bearer Token <JWT-value>

Params

by	     entitlementOwner

Body

{
	"ownerId": "timothy.slack",
	"isHighRiskOnly": true,
	"isMediumLowRiskOnly": false,
	"isUserEntitlementsIncluded": true,
	"filters": [{
		"type": "app_id",
		"group": "criticality",
		"value": "Essential"
	}]
}

Example Request

curl --location --request POST '/api/entitlements/stats&#63;by=entitlementOwner' \
--header 'content-type: application/json' \
--data-raw '{
	"ownerId": "timothy.slack",
	"isHighRiskOnly": true,
	"isMediumLowRiskOnly": false,
	"isUserEntitlementsIncluded": true,
	"filters": [{
		"type": "app_id",
		"group": "criticality",
		"value": "Essential"
	}]
}'
POST Statistics by Supervisor

Set statistics by supervisor.

Endpoint

/api/entitlements/stats?by=supervisor

Authorization

Bearer Token <JWT-value>

Params

by	     supervisor

Body

{
	"ownerId": "albert.pardini",
	"isHighRiskOnly": true,
	"isMediumLowScoreOnly": true,
	"isUserEntitlementsIncluded": true,
	"filters": [{
		"type": "app_id",
		"group": "criticality",
		"value": "Essential"
	}]
}

Example Request

curl --location --request POST '/api/entitlements/stats&#63;by=supervisor' \
--header 'content-type: application/json' \
--data-raw '{
	"ownerId": "albert.pardini",
	"isHighRiskOnly": true,
	"isMediumLowScoreOnly": true,
	"isUserEntitlementsIncluded": true,
	"filters": [{
		"type": "app_id",
		"group": "criticality",
		"value": "Essential"
	}]
}'
Read a different version of :