mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-09 21:14:22 +00:00
17 lines
817 B
Plaintext
17 lines
817 B
Plaintext
---
|
|
title: 'AWS Resource ARN-Based Scanning'
|
|
description: 'Scan specific AWS resources by ARN with the Prowler --resource-arn flag to target individual IAM users, EC2 VPCs, or other services on demand.'
|
|
---
|
|
|
|
Prowler enables scanning of resources based on specific AWS Resource ARNs.
|
|
|
|
## Resource ARN-Based Scanning
|
|
|
|
Prowler enables scanning of resources based on specific AWS Resource [Amazon Resource Names (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). To perform this scan, use the designated flag `--resource-arn` followed by one or more ARNs, separated by spaces.
|
|
|
|
```
|
|
prowler aws --resource-arn arn:aws:iam::012345678910:user/test arn:aws:ec2:us-east-1:123456789012:vpc/vpc-12345678
|
|
```
|
|
|
|
Example: This configuration scans only the specified two resources using their ARNs.
|