Assurance / Client / list_enabled_frameworks
list_enabled_frameworks¶
- Assurance.Client.list_enabled_frameworks(**kwargs)¶
Lists the frameworks enabled in a governance environment, optionally narrowed by
filters.See also: AWS API Documentation
Request Syntax
response = client.list_enabled_frameworks( environmentArn='string', project='string', filters=[ { 'name': 'framework'|'framework-version'|'project'|'type', 'values': [ 'string', ] }, ], maxResults=123, nextToken='string' )
- Parameters:
environmentArn (string) –
[REQUIRED]
The ARN of this governance environment.
project (string) – The project to list enabled frameworks for. Each request is scoped to one project.
filters (list) –
The response filter criteria. Optional. See
EnabledFrameworkFilterNamefor the filterable attributes. A result must match every attribute you name, and matches if it equals any of the values you give for that attribute. Omittingfiltersreturns every enabled framework in the environment.A criterion whose value matches nothing returns an empty page.
When you supply a single-valued
projectcriterion alongside theprojectparameter, both values must match. If they differ, the response is empty.(dict) –
One
ListEnabledFrameworksfilter criterion.A result matches if it equals any of the values you give for one attribute, and must match every attribute you name. Repeating an attribute name combines its value lists.
name (string) – [REQUIRED]
The enabled-framework attribute to match on.
values (list) – [REQUIRED]
The values to match the attribute against, compared for exact equality.
(string) –
A value to match against a filter attribute. The match is exact. Wildcards aren’t supported.
maxResults (integer) – The maximum number of records to return on one page. If you omit it, the operation uses its default page size. If more records are available, use the
nextTokenvalue from the response to get the next page.nextToken (string) – The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.
- Return type:
dict
- Returns:
Response Syntax
{ 'enabledFrameworks': [ { 'framework': 'string', 'frameworkVersion': 'string', 'assessmentMode': 'SCHEDULED'|'CONTINUOUS', 'project': 'string', 'type': 'MANAGED'|'CUSTOM', 'createdAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1) }, ], 'nextToken': 'string' }
Response Structure
(dict) –
enabledFrameworks (list) –
The compliance frameworks that are enabled.
(dict) –
Summary of an enabled framework record.
framework (string) –
The name of the compliance framework.
frameworkVersion (string) –
The version of the compliance framework.
assessmentMode (string) –
The way that assessments run for the framework. This field is empty if assessment modes aren’t available for your account.
project (string) –
The name of the project.
type (string) –
The type of the compliance framework.
createdAt (datetime) –
The timestamp when the framework was enabled.
updatedAt (datetime) –
The timestamp when the enablement was last updated.
nextToken (string) –
The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.
Exceptions
Assurance.Client.exceptions.ValidationExceptionAssurance.Client.exceptions.InternalServerExceptionAssurance.Client.exceptions.ThrottlingExceptionAssurance.Client.exceptions.AccessDeniedExceptionAssurance.Client.exceptions.ResourceNotFoundException