Class ScanReport.FileResult.Detection
-
- All Implemented Interfaces:
public final class ScanReport.FileResult.Detection
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classScanReport.FileResult.Detection.BuilderA builder for Detection.
public final classScanReport.FileResult.Detection.MitreAtlaspublic final classScanReport.FileResult.Detection.Riskdetection risk
public final classScanReport.FileResult.Detection.SeverityThe severity of the detection.
public final classScanReport.FileResult.Detection.RuleDetail
-
Method Summary
Modifier and Type Method Description final Stringcategory()Vulnerability category for the detection final List<String>cve()final Stringcwe()final StringcweHref()CWE URL for the detection final Stringdescription()detection description final StringdetectionId()unique identifier for the detection final Stringimpact()detection impact final Stringlikelihood()detection likelihood final List<ScanReport.FileResult.Detection.MitreAtlas>mitreAtlas()final List<String>owasp()final ScanReport.FileResult.Detection.Riskrisk()detection risk final StringruleId()unique identifier for the rule that sourced the detection final ScanReport.FileResult.Detection.Severityseverity()The severity of the detection. final Optional<List<ScanReport.FileResult.Detection.RuleDetail>>ruleDetails()final Optional<String>technicalBlogHref()Hiddenlayer Technical Blog URL for the detection final Optional<List<String>>technicalBlogHrefs()Hiddenlayer Technical Blog URLs for the detection final JsonField<String>_category()Returns the raw JSON value of category. final JsonField<List<String>>_cve()Returns the raw JSON value of cve. final JsonField<String>_cwe()Returns the raw JSON value of cwe. final JsonField<String>_cweHref()Returns the raw JSON value of cweHref. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<String>_detectionId()Returns the raw JSON value of detectionId. final JsonField<String>_impact()Returns the raw JSON value of impact. final JsonField<String>_likelihood()Returns the raw JSON value of likelihood. final JsonField<List<ScanReport.FileResult.Detection.MitreAtlas>>_mitreAtlas()Returns the raw JSON value of mitreAtlas. final JsonField<List<String>>_owasp()Returns the raw JSON value of owasp. final JsonField<ScanReport.FileResult.Detection.Risk>_risk()Returns the raw JSON value of risk. final JsonField<String>_ruleId()Returns the raw JSON value of ruleId. final JsonField<ScanReport.FileResult.Detection.Severity>_severity()Returns the raw JSON value of severity. final JsonField<List<ScanReport.FileResult.Detection.RuleDetail>>_ruleDetails()Returns the raw JSON value of ruleDetails. final JsonField<String>_technicalBlogHref()Returns the raw JSON value of technicalBlogHref. final JsonField<List<String>>_technicalBlogHrefs()Returns the raw JSON value of technicalBlogHrefs. final Map<String, JsonValue>_additionalProperties()final ScanReport.FileResult.Detection.BuildertoBuilder()final ScanReport.FileResult.Detectionvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ScanReport.FileResult.Detection.Builderbuilder()Returns a mutable builder for constructing an instance of Detection. -
-
Method Detail
-
description
final String description()
detection description
-
detectionId
final String detectionId()
unique identifier for the detection
-
likelihood
final String likelihood()
detection likelihood
-
mitreAtlas
final List<ScanReport.FileResult.Detection.MitreAtlas> mitreAtlas()
-
risk
final ScanReport.FileResult.Detection.Risk risk()
detection risk
-
severity
final ScanReport.FileResult.Detection.Severity severity()
The severity of the detection.
-
ruleDetails
final Optional<List<ScanReport.FileResult.Detection.RuleDetail>> ruleDetails()
-
technicalBlogHref
@Deprecated(message = "deprecated") final Optional<String> technicalBlogHref()
Hiddenlayer Technical Blog URL for the detection
-
technicalBlogHrefs
final Optional<List<String>> technicalBlogHrefs()
Hiddenlayer Technical Blog URLs for the detection
-
_category
final JsonField<String> _category()
Returns the raw JSON value of category.
Unlike category, this method doesn't throw if the JSON field has an unexpected type.
-
_cve
final JsonField<List<String>> _cve()
Returns the raw JSON value of cve.
Unlike cve, this method doesn't throw if the JSON field has an unexpected type.
-
_cwe
final JsonField<String> _cwe()
Returns the raw JSON value of cwe.
Unlike cwe, this method doesn't throw if the JSON field has an unexpected type.
-
_cweHref
final JsonField<String> _cweHref()
Returns the raw JSON value of cweHref.
Unlike cweHref, this method doesn't throw if the JSON field has an unexpected type.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_detectionId
final JsonField<String> _detectionId()
Returns the raw JSON value of detectionId.
Unlike detectionId, this method doesn't throw if the JSON field has an unexpected type.
-
_impact
final JsonField<String> _impact()
Returns the raw JSON value of impact.
Unlike impact, this method doesn't throw if the JSON field has an unexpected type.
-
_likelihood
final JsonField<String> _likelihood()
Returns the raw JSON value of likelihood.
Unlike likelihood, this method doesn't throw if the JSON field has an unexpected type.
-
_mitreAtlas
final JsonField<List<ScanReport.FileResult.Detection.MitreAtlas>> _mitreAtlas()
Returns the raw JSON value of mitreAtlas.
Unlike mitreAtlas, this method doesn't throw if the JSON field has an unexpected type.
-
_owasp
final JsonField<List<String>> _owasp()
Returns the raw JSON value of owasp.
Unlike owasp, this method doesn't throw if the JSON field has an unexpected type.
-
_risk
final JsonField<ScanReport.FileResult.Detection.Risk> _risk()
Returns the raw JSON value of risk.
Unlike risk, this method doesn't throw if the JSON field has an unexpected type.
-
_ruleId
final JsonField<String> _ruleId()
Returns the raw JSON value of ruleId.
Unlike ruleId, this method doesn't throw if the JSON field has an unexpected type.
-
_severity
final JsonField<ScanReport.FileResult.Detection.Severity> _severity()
Returns the raw JSON value of severity.
Unlike severity, this method doesn't throw if the JSON field has an unexpected type.
-
_ruleDetails
final JsonField<List<ScanReport.FileResult.Detection.RuleDetail>> _ruleDetails()
Returns the raw JSON value of ruleDetails.
Unlike ruleDetails, this method doesn't throw if the JSON field has an unexpected type.
-
_technicalBlogHref
@Deprecated(message = "deprecated") final JsonField<String> _technicalBlogHref()
Returns the raw JSON value of technicalBlogHref.
Unlike technicalBlogHref, this method doesn't throw if the JSON field has an unexpected type.
-
_technicalBlogHrefs
final JsonField<List<String>> _technicalBlogHrefs()
Returns the raw JSON value of technicalBlogHrefs.
Unlike technicalBlogHrefs, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ScanReport.FileResult.Detection.Builder toBuilder()
-
validate
final ScanReport.FileResult.Detection validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ScanReport.FileResult.Detection.Builder builder()
Returns a mutable builder for constructing an instance of Detection.
The following fields are required:
.category() .cve() .cwe() .cweHref() .description() .detectionId() .impact() .likelihood() .mitreAtlas() .owasp() .risk() .ruleId() .severity()
-
-
-
-