Class FindingDetail

    • Method Detail

      • cisaData

        public final CisaData cisaData()
        Returns the value of the CisaData property for this object.
        Returns:
        The value of the CisaData property for this object.
      • hasCwes

        public final boolean hasCwes()
        For responses, this returns true if the service returned a value for the Cwes property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • cwes

        public final List<String> cwes()

        The Common Weakness Enumerations (CWEs) associated with the vulnerability.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasCwes() method.

        Returns:
        The Common Weakness Enumerations (CWEs) associated with the vulnerability.
      • epssScore

        public final Double epssScore()

        The Exploit Prediction Scoring System (EPSS) score of the vulnerability.

        Returns:
        The Exploit Prediction Scoring System (EPSS) score of the vulnerability.
      • hasEvidences

        public final boolean hasEvidences()
        For responses, this returns true if the service returned a value for the Evidences property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • evidences

        public final List<Evidence> evidences()

        Information on the evidence of the vulnerability.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasEvidences() method.

        Returns:
        Information on the evidence of the vulnerability.
      • exploitObserved

        public final ExploitObserved exploitObserved()
        Returns the value of the ExploitObserved property for this object.
        Returns:
        The value of the ExploitObserved property for this object.
      • findingArn

        public final String findingArn()

        The finding ARN that the vulnerability details are associated with.

        Returns:
        The finding ARN that the vulnerability details are associated with.
      • hasReferenceUrls

        public final boolean hasReferenceUrls()
        For responses, this returns true if the service returned a value for the ReferenceUrls property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • referenceUrls

        public final List<String> referenceUrls()

        The reference URLs for the vulnerability data.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasReferenceUrls() method.

        Returns:
        The reference URLs for the vulnerability data.
      • riskScore

        public final Integer riskScore()

        The risk score of the vulnerability.

        Returns:
        The risk score of the vulnerability.
      • hasTools

        public final boolean hasTools()
        For responses, this returns true if the service returned a value for the Tools property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • tools

        public final List<String> tools()

        The known malware tools or kits that can exploit the vulnerability.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasTools() method.

        Returns:
        The known malware tools or kits that can exploit the vulnerability.
      • hasTtps

        public final boolean hasTtps()
        For responses, this returns true if the service returned a value for the Ttps property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • ttps

        public final List<String> ttps()

        The MITRE adversary tactics, techniques, or procedures (TTPs) associated with the vulnerability.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasTtps() method.

        Returns:
        The MITRE adversary tactics, techniques, or procedures (TTPs) associated with the vulnerability.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)