Interface FindingDetail.Builder

    • Method Detail

      • cisaData

        FindingDetail.Builder cisaData​(CisaData cisaData)
        Sets the value of the CisaData property for this object.
        Parameters:
        cisaData - The new value for the CisaData property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cwes

        FindingDetail.Builder cwes​(Collection<String> cwes)

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

        Parameters:
        cwes - The Common Weakness Enumerations (CWEs) associated with the vulnerability.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cwes

        FindingDetail.Builder cwes​(String... cwes)

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

        Parameters:
        cwes - The Common Weakness Enumerations (CWEs) associated with the vulnerability.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • epssScore

        FindingDetail.Builder epssScore​(Double epssScore)

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

        Parameters:
        epssScore - The Exploit Prediction Scoring System (EPSS) score of the vulnerability.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • evidences

        FindingDetail.Builder evidences​(Collection<Evidence> evidences)

        Information on the evidence of the vulnerability.

        Parameters:
        evidences - Information on the evidence of the vulnerability.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • evidences

        FindingDetail.Builder evidences​(Evidence... evidences)

        Information on the evidence of the vulnerability.

        Parameters:
        evidences - Information on the evidence of the vulnerability.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • evidences

        FindingDetail.Builder evidences​(Consumer<Evidence.Builder>... evidences)

        Information on the evidence of the vulnerability.

        This is a convenience method that creates an instance of the Evidence.Builder avoiding the need to create one manually via Evidence.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #evidences(List).

        Parameters:
        evidences - a consumer that will call methods on Evidence.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #evidences(java.util.Collection)
      • exploitObserved

        FindingDetail.Builder exploitObserved​(ExploitObserved exploitObserved)
        Sets the value of the ExploitObserved property for this object.
        Parameters:
        exploitObserved - The new value for the ExploitObserved property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • findingArn

        FindingDetail.Builder findingArn​(String findingArn)

        The finding ARN that the vulnerability details are associated with.

        Parameters:
        findingArn - The finding ARN that the vulnerability details are associated with.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • referenceUrls

        FindingDetail.Builder referenceUrls​(Collection<String> referenceUrls)

        The reference URLs for the vulnerability data.

        Parameters:
        referenceUrls - The reference URLs for the vulnerability data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • referenceUrls

        FindingDetail.Builder referenceUrls​(String... referenceUrls)

        The reference URLs for the vulnerability data.

        Parameters:
        referenceUrls - The reference URLs for the vulnerability data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • riskScore

        FindingDetail.Builder riskScore​(Integer riskScore)

        The risk score of the vulnerability.

        Parameters:
        riskScore - The risk score of the vulnerability.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tools

        FindingDetail.Builder tools​(Collection<String> tools)

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

        Parameters:
        tools - The known malware tools or kits that can exploit the vulnerability.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tools

        FindingDetail.Builder tools​(String... tools)

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

        Parameters:
        tools - The known malware tools or kits that can exploit the vulnerability.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ttps

        FindingDetail.Builder ttps​(Collection<String> ttps)

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

        Parameters:
        ttps - The MITRE adversary tactics, techniques, or procedures (TTPs) associated with the vulnerability.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ttps

        FindingDetail.Builder ttps​(String... ttps)

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

        Parameters:
        ttps - The MITRE adversary tactics, techniques, or procedures (TTPs) associated with the vulnerability.
        Returns:
        Returns a reference to this object so that method calls can be chained together.