Create Findings Report
inspector2_create_findings_report | R Documentation |
Creates a finding report¶
Description¶
Creates a finding report. By default only ACTIVE
findings are returned
in the report. To see SUPRESSED
or CLOSED
findings you must specify
a value for the findingStatus
filter criteria.
Usage¶
Arguments¶
filterCriteria
The filter criteria to apply to the results of the finding report.
reportFormat
[required] The format to generate the report in.
s3Destination
[required] The Amazon S3 export destination for the report.
Value¶
A list with the following syntax:
Request syntax¶
svc$create_findings_report(
filterCriteria = list(
awsAccountId = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
codeVulnerabilityDetectorName = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
codeVulnerabilityDetectorTags = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
codeVulnerabilityFilePath = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
componentId = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
componentType = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
ec2InstanceImageId = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
ec2InstanceSubnetId = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
ec2InstanceVpcId = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
ecrImageArchitecture = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
ecrImageHash = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
ecrImagePushedAt = list(
list(
endInclusive = as.POSIXct(
"2015-01-01"
),
startInclusive = as.POSIXct(
"2015-01-01"
)
)
),
ecrImageRegistry = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
ecrImageRepositoryName = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
ecrImageTags = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
epssScore = list(
list(
lowerInclusive = 123.0,
upperInclusive = 123.0
)
),
exploitAvailable = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
findingArn = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
findingStatus = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
findingType = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
firstObservedAt = list(
list(
endInclusive = as.POSIXct(
"2015-01-01"
),
startInclusive = as.POSIXct(
"2015-01-01"
)
)
),
fixAvailable = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
inspectorScore = list(
list(
lowerInclusive = 123.0,
upperInclusive = 123.0
)
),
lambdaFunctionExecutionRoleArn = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
lambdaFunctionLastModifiedAt = list(
list(
endInclusive = as.POSIXct(
"2015-01-01"
),
startInclusive = as.POSIXct(
"2015-01-01"
)
)
),
lambdaFunctionLayers = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
lambdaFunctionName = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
lambdaFunctionRuntime = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
lastObservedAt = list(
list(
endInclusive = as.POSIXct(
"2015-01-01"
),
startInclusive = as.POSIXct(
"2015-01-01"
)
)
),
networkProtocol = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
portRange = list(
list(
beginInclusive = 123,
endInclusive = 123
)
),
relatedVulnerabilities = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
resourceId = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
resourceTags = list(
list(
comparison = "EQUALS",
key = "string",
value = "string"
)
),
resourceType = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
severity = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
title = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
updatedAt = list(
list(
endInclusive = as.POSIXct(
"2015-01-01"
),
startInclusive = as.POSIXct(
"2015-01-01"
)
)
),
vendorSeverity = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
vulnerabilityId = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
vulnerabilitySource = list(
list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
),
vulnerablePackages = list(
list(
architecture = list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
),
epoch = list(
lowerInclusive = 123.0,
upperInclusive = 123.0
),
name = list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
),
release = list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
),
sourceLambdaLayerArn = list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
),
sourceLayerHash = list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
),
version = list(
comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
value = "string"
)
)
)
),
reportFormat = "CSV"|"JSON",
s3Destination = list(
bucketName = "string",
keyPrefix = "string",
kmsKeyArn = "string"
)
)