API Accounting Config
API Accounting Configs represent cloud API audit trail configurations. An example of such a service would be AWS CloudTrail. This class inherits from TopLevelResource and has direct access to the resource’s database object.
Attribute |
Description |
---|---|
resource_id |
The primary resource identifier that takes the form of a prefix followed by numbers and letters |
accounting_config_id |
The provider ID of the accounting configuration |
organization_service_id |
The ID of the parent organization service (cloud) |
region_name |
The region where the API configuration resides |
name |
The name of the config |
multi_region |
Denotes whether or not the configuration spans all regions |
atr parent_resource_id |
The resource ID of the parent that this trail is associated with |
config |
JSON output of configurations (If logging enabled, log file validation enabled, S3 bucket name) |
ApiAccountingConfig Operations
accounting_config_id
api_accounting_config
delete(user_resource_id=None)
get_arn()
static get_db_class()
static get_provider_id_field()
static get_resource_type()
get_supported_actions()
handle_resource_created(user_resource_id=None, project_resource_id=None)
handle_resource_destroyed(user_resource_id=None, project_resource_id=None)
handle_resource_modified(resource, *args, **kwargs)