aws ec2 get-network-insights-access-scope-analysis-findings
Gets the findings for the specified Network Access Scope analysis. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To get the findings of Network Insights access scope analysis
The following get-network-insights-access-scope-analysis-findings example gets the selected scope analysis findings in your AWS account.
aws ec2 get-network-insights-access-scope-analysis-findings --network-insights-access-scope-analysis-id nisa-123456789222Identify--network-insights-access-scope-analysis-idThe ID of the Network Access Scope analysis.Its output, shortened
{
"NetworkInsightsAccessScopeAnalysisId": "nisa-123456789222",
"AnalysisFindings": [
{
"NetworkInsightsAccessScopeAnalysisId": "nisa-123456789222",
"NetworkInsightsAccessScopeId": "nis-123456789111",
"FindingComponents": [
{
"SequenceNumber": 1,
"Component": {
"Id": "eni-02e3d42d5cceca67d",
"Arn": "arn:aws:ec2:us-west-2:123456789012:network-interface/eni-02e3d32d9cceca17d"
},
"OutboundHeader": {
"DestinationAddresses": [
"0.0.0.0/5",
"11.0.0.0/8",
"12.0.0.0/6",
"128.0.0.0/3",
"16.0.0.0/4",
"160.0.0.0/5",
"168.0.0.0/6",
"172.0.0.0/12",
"8.0.0.0/7"
],
"DestinationPortRanges": [
{
"From": 0,
"To": 65535
}
… 17 more linesFor more information, see Getting started with Network Access Analyzer using the AWS CLI in the Network Access Analyzer Guide.
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--max-resultsThe maximum number of results to return with a single call.--network-insights-access-scope-analysis-idThe ID of the Network Access Scope analysis.--next-tokenThe token for the next page of results.