Class ScanReport.Summary
-
- All Implemented Interfaces:
public final class ScanReport.Summaryaggregated summary statistics for the scan
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classScanReport.Summary.BuilderA builder for Summary.
public final classScanReport.Summary.HighestSeverityThe highest severity of any detections on the scan.
public final classScanReport.Summary.SeverityThe highest severity of any detections on the scan. Use ScanHighestDetectionSeverity instead.
-
Method Summary
Modifier and Type Method Description final Optional<List<String>>detectionCategories()list of unique detection categories found final Optional<Long>detectionCount()total number of detections found final Optional<Long>fileCount()total number of files scanned final Optional<Long>filesFailedToScan()number of files that failed during scanning final Optional<Long>filesWithDetectionsCount()number of files that contain detections final Optional<ScanReport.Summary.HighestSeverity>highestSeverity()The highest severity of any detections on the scan. final Optional<ScanReport.Summary.Severity>severity()The highest severity of any detections on the scan. final Optional<Long>unknownFiles()number of files with unknown file type final JsonField<List<String>>_detectionCategories()Returns the raw JSON value of detectionCategories. final JsonField<Long>_detectionCount()Returns the raw JSON value of detectionCount. final JsonField<Long>_fileCount()Returns the raw JSON value of fileCount. final JsonField<Long>_filesFailedToScan()Returns the raw JSON value of filesFailedToScan. final JsonField<Long>_filesWithDetectionsCount()Returns the raw JSON value of filesWithDetectionsCount. final JsonField<ScanReport.Summary.HighestSeverity>_highestSeverity()Returns the raw JSON value of highestSeverity. final JsonField<ScanReport.Summary.Severity>_severity()Returns the raw JSON value of severity. final JsonField<Long>_unknownFiles()Returns the raw JSON value of unknownFiles. final Map<String, JsonValue>_additionalProperties()final ScanReport.Summary.BuildertoBuilder()final ScanReport.Summaryvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ScanReport.Summary.Builderbuilder()Returns a mutable builder for constructing an instance of Summary. -
-
Method Detail
-
detectionCategories
final Optional<List<String>> detectionCategories()
list of unique detection categories found
-
detectionCount
final Optional<Long> detectionCount()
total number of detections found
-
filesFailedToScan
final Optional<Long> filesFailedToScan()
number of files that failed during scanning
-
filesWithDetectionsCount
final Optional<Long> filesWithDetectionsCount()
number of files that contain detections
-
highestSeverity
final Optional<ScanReport.Summary.HighestSeverity> highestSeverity()
The highest severity of any detections on the scan.
-
severity
@Deprecated(message = "deprecated") final Optional<ScanReport.Summary.Severity> severity()
The highest severity of any detections on the scan. Use ScanHighestDetectionSeverity instead.
-
unknownFiles
final Optional<Long> unknownFiles()
number of files with unknown file type
-
_detectionCategories
final JsonField<List<String>> _detectionCategories()
Returns the raw JSON value of detectionCategories.
Unlike detectionCategories, this method doesn't throw if the JSON field has an unexpected type.
-
_detectionCount
final JsonField<Long> _detectionCount()
Returns the raw JSON value of detectionCount.
Unlike detectionCount, this method doesn't throw if the JSON field has an unexpected type.
-
_fileCount
final JsonField<Long> _fileCount()
Returns the raw JSON value of fileCount.
Unlike fileCount, this method doesn't throw if the JSON field has an unexpected type.
-
_filesFailedToScan
final JsonField<Long> _filesFailedToScan()
Returns the raw JSON value of filesFailedToScan.
Unlike filesFailedToScan, this method doesn't throw if the JSON field has an unexpected type.
-
_filesWithDetectionsCount
final JsonField<Long> _filesWithDetectionsCount()
Returns the raw JSON value of filesWithDetectionsCount.
Unlike filesWithDetectionsCount, this method doesn't throw if the JSON field has an unexpected type.
-
_highestSeverity
final JsonField<ScanReport.Summary.HighestSeverity> _highestSeverity()
Returns the raw JSON value of highestSeverity.
Unlike highestSeverity, this method doesn't throw if the JSON field has an unexpected type.
-
_severity
@Deprecated(message = "deprecated") final JsonField<ScanReport.Summary.Severity> _severity()
Returns the raw JSON value of severity.
Unlike severity, this method doesn't throw if the JSON field has an unexpected type.
-
_unknownFiles
final JsonField<Long> _unknownFiles()
Returns the raw JSON value of unknownFiles.
Unlike unknownFiles, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ScanReport.Summary.Builder toBuilder()
-
validate
final ScanReport.Summary validate()
-
builder
final static ScanReport.Summary.Builder builder()
Returns a mutable builder for constructing an instance of Summary.
-
-
-
-