Class FileScanReport.FileResult.Detection
-
- All Implemented Interfaces:
public final class FileScanReport.FileResult.Detection
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFileScanReport.FileResult.Detection.BuilderA builder for Detection.
public final classFileScanReport.FileResult.Detection.MitreAtlaspublic final classFileScanReport.FileResult.Detection.Riskdetection risk
public final classFileScanReport.FileResult.Detection.SeverityThe severity of the detection.
public final classFileScanReport.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<FileScanReport.FileResult.Detection.MitreAtlas>mitreAtlas()final List<String>owasp()final FileScanReport.FileResult.Detection.Riskrisk()detection risk final StringruleId()unique identifier for the rule that sourced the detection final FileScanReport.FileResult.Detection.Severityseverity()The severity of the detection. final Optional<List<FileScanReport.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<FileScanReport.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<FileScanReport.FileResult.Detection.Risk>_risk()Returns the raw JSON value of risk. final JsonField<String>_ruleId()Returns the raw JSON value of ruleId. final JsonField<FileScanReport.FileResult.Detection.Severity>_severity()Returns the raw JSON value of severity. final JsonField<List<FileScanReport.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 FileScanReport.FileResult.Detection.BuildertoBuilder()final FileScanReport.FileResult.Detectionvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FileScanReport.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<FileScanReport.FileResult.Detection.MitreAtlas> mitreAtlas()
-
risk
final FileScanReport.FileResult.Detection.Risk risk()
detection risk
-
severity
final FileScanReport.FileResult.Detection.Severity severity()
The severity of the detection.
-
ruleDetails
final Optional<List<FileScanReport.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<FileScanReport.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<FileScanReport.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<FileScanReport.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<FileScanReport.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 FileScanReport.FileResult.Detection.Builder toBuilder()
-
validate
final FileScanReport.FileResult.Detection validate()
-
builder
final static FileScanReport.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()
-
-
-
-