Interface AttackPhase.Builder

  • Method Details

    • phase

      The MITRE ATT&CK tactic of the phase. Possible values are Reconnaissance, Resource Development, Initial Access, Execution, Persistence, Privilege Escalation, Defense Evasion, Credential Access, Discovery, Lateral Movement, Collection, Command and Control, Exfiltration, and Impact .

      Parameters:
      phase - The MITRE ATT&CK tactic of the phase. Possible values are Reconnaissance, Resource Development, Initial Access, Execution, Persistence, Privilege Escalation, Defense Evasion, Credential Access, Discovery, Lateral Movement, Collection, Command and Control, Exfiltration, and Impact.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • phase

      The MITRE ATT&CK tactic of the phase. Possible values are Reconnaissance, Resource Development, Initial Access, Execution, Persistence, Privilege Escalation, Defense Evasion, Credential Access, Discovery, Lateral Movement, Collection, Command and Control, Exfiltration, and Impact .

      Parameters:
      phase - The MITRE ATT&CK tactic of the phase. Possible values are Reconnaissance, Resource Development, Initial Access, Execution, Persistence, Privilege Escalation, Defense Evasion, Credential Access, Discovery, Lateral Movement, Collection, Command and Control, Exfiltration, and Impact.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • description

      AttackPhase.Builder description(String description)

      A description of the activity in this phase.

      Parameters:
      description - A description of the activity in this phase.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attacks

      The MITRE ATT&CK tactics and techniques observed in this phase, with the findings that are associated with them.

      Parameters:
      attacks - The MITRE ATT&CK tactics and techniques observed in this phase, with the findings that are associated with them.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attacks

      AttackPhase.Builder attacks(Attack... attacks)

      The MITRE ATT&CK tactics and techniques observed in this phase, with the findings that are associated with them.

      Parameters:
      attacks - The MITRE ATT&CK tactics and techniques observed in this phase, with the findings that are associated with them.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attacks

      The MITRE ATT&CK tactics and techniques observed in this phase, with the findings that are associated with them.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to attacks(List<Attack>).

      Parameters:
      attacks - a consumer that will call methods on Attack.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: