Custom request user filter
You can apply a custom filter to an AWS request type.
Create the filter
To create the filter:
- Create a file called "UserApiFilter.config".
- Edit the file and specify request types as described below.
- Add the file to
<Jira-home-directory>/import/insight/aws
. If these subfolders don't exist, create them.
Request types
You can apply the filter to the following request types. You can also add multiple filter values to a single request—all of them will be applied and attached to each request of the type.
Here is an example of an UserApiFilter.config file:
AWS request type | AWS filter documentation | Examples |
---|---|---|
EC2 | ||
DescribeCustomerGatewaysRequest | AWS Filter Documentation | DescribeCustomerGatewaysRequest=customer-gateway-id:1213-123-123 |
DescribeDhcpOptionsRequest | AWS Filter Documentation | DescribeDhcpOptionsRequest=dhcp-options-id:1213-123-123 |
DescribeEgressOnlyInternetGatewaysRequest | AWS Filter Documentation | DescribeEgressOnlyInternetGatewaysRequest=tag-key:1213-123-123 |
DescribeElasticGpusRequest | AWS Filter Documentation | DescribeElasticGpusRequest=instance-id:1213-123-123 |
DescribeAddressesRequest | AWS Filter Documentation | DescribeAddressesRequest=instance-id:1213-123-123 |
DescribeHostsRequest | AWS Filter Documentation | DescribeHostsRequest=tag-key:1213-123-123 |
DescribeIamInstanceProfileAssociationsRequest | AWS Filter Documentation | DescribeIamInstanceProfileAssociationsRequest=instance-id:1213-123-123 |
DescribeImagesRequest | AWS Filter Documentation | DescribeImagesRequest=image-id:1213-123-123 |
DescribeInstancesRequest | AWS Filter Documentation | DescribeInstancesRequest=instance-id:1213-123-123 |
DescribeInternetGatewaysRequest | AWS Filter Documentation | DescribeInternetGatewaysRequest=internet-gateway-id:1213-123-123 |
DescribeKeyPairsRequest | AWS Filter Documentation | DescribeKeyPairsRequest=key-pair-id:1213-123-123 |
DescribeNatGatewaysRequest | AWS Filter Documentation | DescribeNatGatewaysRequest=subnet-id:1213-123-123 |
DescribeNetworkAclsRequest | AWS Filter Documentation | DescribeNetworkAclsRequest=vpc-id:1213-123-123 |
DescribeNetworkInterfacesRequest | AWS Filter Documentation | DescribeNetworkInterfacesRequest=description:prod* |
DescribeRegionsRequest | AWS Filter Documentation | DescribeRegionsRequest=region-name:us-east-1 |
DescribeRouteTablesRequest | AWS Filter Documentation | DescribeRouteTablesRequest=route-table-id:1213-123-123 |
DescribeSecurityGroupsRequest | AWS Filter Documentation | DescribeSecurityGroupsRequest=description:default* DescribeSecurityGroupsRequest=tag-key:myTagKey DescribeSecurityGroupsRequest=description:default*;tag-key:myTagKey |
DescribeSnapshotsRequest | AWS Filter Documentation | DescribeSnapshotsRequest=volume-id:1213-123-123 |
DescribeSubnetsRequest | AWS Filter Documentation | DescribeSubnetsRequest=subnet-id:1213-123-123 |
DescribeTransitGatewaysRequest | AWS Filter Documentation | DescribeTransitGatewaysRequest=transit-gateway-id:1213-123-123 |
DescribeVolumesRequest | AWS Filter Documentation | DescribeVolumesRequest=encrypted:true |
DescribeVpcPeeringConnectionsRequest | AWS Filter Documentation | DescribeVpcPeeringConnectionsRequest=vpc-peering-connection-id:1213-123-123 |
DescribeVpcsRequest | AWS Filter Documentation | DescribeVpcsRequest=vpc-id:1213-123-123 |
DescribeVpnConnectionsRequest | AWS Filter Documentation | DescribeVpnConnectionsRequest=state:available |
DescribeVpnGatewaysRequest | AWS Filter Documentation | DescribeVpnGatewaysRequest=attachment.vpc-id:1213-123-123 |
DescribeAvailabilityZonesRequest | AWS Filter Documentation | DescribeAvailabilityZonesRequest=zone-id:us-east-1-wl1-bos-wlz-1 |
RDS | ||
DescribeDBInstancesRequest | AWS Filter Documentation | DescribeDBInstancesRequest=db-instance-id:us-db1 |
DescribeDBClustersRequest | AWS Filter Documentation | DescribeDBClustersRequest=db-cluster-id:us-cl1 |
Last modified on Sep 23, 2022
Powered by Confluence and Scroll Viewport.