AWS SDK for C++  1.9.130
AWS SDK for C++
Public Member Functions | List of all members
Aws::SecurityHub::Model::Severity Class Reference

#include <Severity.h>

Public Member Functions

 Severity ()
 
 Severity (Aws::Utils::Json::JsonView jsonValue)
 
Severityoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
double GetProduct () const
 
bool ProductHasBeenSet () const
 
void SetProduct (double value)
 
SeverityWithProduct (double value)
 
const SeverityLabelGetLabel () const
 
bool LabelHasBeenSet () const
 
void SetLabel (const SeverityLabel &value)
 
void SetLabel (SeverityLabel &&value)
 
SeverityWithLabel (const SeverityLabel &value)
 
SeverityWithLabel (SeverityLabel &&value)
 
int GetNormalized () const
 
bool NormalizedHasBeenSet () const
 
void SetNormalized (int value)
 
SeverityWithNormalized (int value)
 
const Aws::StringGetOriginal () const
 
bool OriginalHasBeenSet () const
 
void SetOriginal (const Aws::String &value)
 
void SetOriginal (Aws::String &&value)
 
void SetOriginal (const char *value)
 
SeverityWithOriginal (const Aws::String &value)
 
SeverityWithOriginal (Aws::String &&value)
 
SeverityWithOriginal (const char *value)
 

Detailed Description

The severity of the finding.

The finding provider can provide the initial severity. The finding provider can only update the severity if it has not been updated using BatchUpdateFindings.

The finding must have either Label or Normalized populated. If only one of these attributes is populated, then Security Hub automatically populates the other one. If neither attribute is populated, then the finding is invalid. Label is the preferred attribute.

See Also:

AWS API Reference

Definition at line 38 of file Severity.h.

Constructor & Destructor Documentation

◆ Severity() [1/2]

Aws::SecurityHub::Model::Severity::Severity ( )

◆ Severity() [2/2]

Aws::SecurityHub::Model::Severity::Severity ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetLabel()

const SeverityLabel& Aws::SecurityHub::Model::Severity::GetLabel ( ) const
inline

The severity value of the finding. The allowed values are the following.

  • INFORMATIONAL - No issue was found.

  • LOW - The issue does not require action on its own.

  • MEDIUM - The issue must be addressed but not urgently.

  • HIGH - The issue must be addressed as a priority.

  • CRITICAL - The issue must be remediated immediately to avoid it escalating.

If you provide Normalized and do not provide Label, then Label is set automatically as follows.

  • 0 - INFORMATIONAL

  • 1–39 - LOW

  • 40–69 - MEDIUM

  • 70–89 - HIGH

  • 90–100 - CRITICAL

Definition at line 94 of file Severity.h.

◆ GetNormalized()

int Aws::SecurityHub::Model::Severity::GetNormalized ( ) const
inline

Deprecated. The normalized severity of a finding. This attribute is being deprecated. Instead of providing Normalized, provide Label.

If you provide Label and do not provide Normalized, then Normalized is set automatically as follows.

  • INFORMATIONAL - 0

  • LOW - 1

  • MEDIUM - 40

  • HIGH - 70

  • CRITICAL - 90

Definition at line 187 of file Severity.h.

◆ GetOriginal()

const Aws::String& Aws::SecurityHub::Model::Severity::GetOriginal ( ) const
inline

The native severity from the finding product that generated the finding.

Definition at line 229 of file Severity.h.

◆ GetProduct()

double Aws::SecurityHub::Model::Severity::GetProduct ( ) const
inline

Deprecated. This attribute is being deprecated. Instead of providing Product, provide Original.

The native severity as defined by the Amazon Web Services service or integrated partner product that generated the finding.

Definition at line 53 of file Severity.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::SecurityHub::Model::Severity::Jsonize ( ) const

◆ LabelHasBeenSet()

bool Aws::SecurityHub::Model::Severity::LabelHasBeenSet ( ) const
inline

The severity value of the finding. The allowed values are the following.

  • INFORMATIONAL - No issue was found.

  • LOW - The issue does not require action on its own.

  • MEDIUM - The issue must be addressed but not urgently.

  • HIGH - The issue must be addressed as a priority.

  • CRITICAL - The issue must be remediated immediately to avoid it escalating.

If you provide Normalized and do not provide Label, then Label is set automatically as follows.

  • 0 - INFORMATIONAL

  • 1–39 - LOW

  • 40–69 - MEDIUM

  • 70–89 - HIGH

  • 90–100 - CRITICAL

Definition at line 110 of file Severity.h.

◆ NormalizedHasBeenSet()

bool Aws::SecurityHub::Model::Severity::NormalizedHasBeenSet ( ) const
inline

Deprecated. The normalized severity of a finding. This attribute is being deprecated. Instead of providing Normalized, provide Label.

If you provide Label and do not provide Normalized, then Normalized is set automatically as follows.

  • INFORMATIONAL - 0

  • LOW - 1

  • MEDIUM - 40

  • HIGH - 70

  • CRITICAL - 90

Definition at line 199 of file Severity.h.

◆ operator=()

Severity& Aws::SecurityHub::Model::Severity::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ OriginalHasBeenSet()

bool Aws::SecurityHub::Model::Severity::OriginalHasBeenSet ( ) const
inline

The native severity from the finding product that generated the finding.

Definition at line 234 of file Severity.h.

◆ ProductHasBeenSet()

bool Aws::SecurityHub::Model::Severity::ProductHasBeenSet ( ) const
inline

Deprecated. This attribute is being deprecated. Instead of providing Product, provide Original.

The native severity as defined by the Amazon Web Services service or integrated partner product that generated the finding.

Definition at line 61 of file Severity.h.

◆ SetLabel() [1/2]

void Aws::SecurityHub::Model::Severity::SetLabel ( const SeverityLabel value)
inline

The severity value of the finding. The allowed values are the following.

  • INFORMATIONAL - No issue was found.

  • LOW - The issue does not require action on its own.

  • MEDIUM - The issue must be addressed but not urgently.

  • HIGH - The issue must be addressed as a priority.

  • CRITICAL - The issue must be remediated immediately to avoid it escalating.

If you provide Normalized and do not provide Label, then Label is set automatically as follows.

  • 0 - INFORMATIONAL

  • 1–39 - LOW

  • 40–69 - MEDIUM

  • 70–89 - HIGH

  • 90–100 - CRITICAL

Definition at line 126 of file Severity.h.

◆ SetLabel() [2/2]

void Aws::SecurityHub::Model::Severity::SetLabel ( SeverityLabel &&  value)
inline

The severity value of the finding. The allowed values are the following.

  • INFORMATIONAL - No issue was found.

  • LOW - The issue does not require action on its own.

  • MEDIUM - The issue must be addressed but not urgently.

  • HIGH - The issue must be addressed as a priority.

  • CRITICAL - The issue must be remediated immediately to avoid it escalating.

If you provide Normalized and do not provide Label, then Label is set automatically as follows.

  • 0 - INFORMATIONAL

  • 1–39 - LOW

  • 40–69 - MEDIUM

  • 70–89 - HIGH

  • 90–100 - CRITICAL

Definition at line 142 of file Severity.h.

◆ SetNormalized()

void Aws::SecurityHub::Model::Severity::SetNormalized ( int  value)
inline

Deprecated. The normalized severity of a finding. This attribute is being deprecated. Instead of providing Normalized, provide Label.

If you provide Label and do not provide Normalized, then Normalized is set automatically as follows.

  • INFORMATIONAL - 0

  • LOW - 1

  • MEDIUM - 40

  • HIGH - 70

  • CRITICAL - 90

Definition at line 211 of file Severity.h.

◆ SetOriginal() [1/3]

void Aws::SecurityHub::Model::Severity::SetOriginal ( Aws::String &&  value)
inline

The native severity from the finding product that generated the finding.

Definition at line 244 of file Severity.h.

◆ SetOriginal() [2/3]

void Aws::SecurityHub::Model::Severity::SetOriginal ( const Aws::String value)
inline

The native severity from the finding product that generated the finding.

Definition at line 239 of file Severity.h.

◆ SetOriginal() [3/3]

void Aws::SecurityHub::Model::Severity::SetOriginal ( const char *  value)
inline

The native severity from the finding product that generated the finding.

Definition at line 249 of file Severity.h.

◆ SetProduct()

void Aws::SecurityHub::Model::Severity::SetProduct ( double  value)
inline

Deprecated. This attribute is being deprecated. Instead of providing Product, provide Original.

The native severity as defined by the Amazon Web Services service or integrated partner product that generated the finding.

Definition at line 69 of file Severity.h.

◆ WithLabel() [1/2]

Severity& Aws::SecurityHub::Model::Severity::WithLabel ( const SeverityLabel value)
inline

The severity value of the finding. The allowed values are the following.

  • INFORMATIONAL - No issue was found.

  • LOW - The issue does not require action on its own.

  • MEDIUM - The issue must be addressed but not urgently.

  • HIGH - The issue must be addressed as a priority.

  • CRITICAL - The issue must be remediated immediately to avoid it escalating.

If you provide Normalized and do not provide Label, then Label is set automatically as follows.

  • 0 - INFORMATIONAL

  • 1–39 - LOW

  • 40–69 - MEDIUM

  • 70–89 - HIGH

  • 90–100 - CRITICAL

Definition at line 158 of file Severity.h.

◆ WithLabel() [2/2]

Severity& Aws::SecurityHub::Model::Severity::WithLabel ( SeverityLabel &&  value)
inline

The severity value of the finding. The allowed values are the following.

  • INFORMATIONAL - No issue was found.

  • LOW - The issue does not require action on its own.

  • MEDIUM - The issue must be addressed but not urgently.

  • HIGH - The issue must be addressed as a priority.

  • CRITICAL - The issue must be remediated immediately to avoid it escalating.

If you provide Normalized and do not provide Label, then Label is set automatically as follows.

  • 0 - INFORMATIONAL

  • 1–39 - LOW

  • 40–69 - MEDIUM

  • 70–89 - HIGH

  • 90–100 - CRITICAL

Definition at line 174 of file Severity.h.

◆ WithNormalized()

Severity& Aws::SecurityHub::Model::Severity::WithNormalized ( int  value)
inline

Deprecated. The normalized severity of a finding. This attribute is being deprecated. Instead of providing Normalized, provide Label.

If you provide Label and do not provide Normalized, then Normalized is set automatically as follows.

  • INFORMATIONAL - 0

  • LOW - 1

  • MEDIUM - 40

  • HIGH - 70

  • CRITICAL - 90

Definition at line 223 of file Severity.h.

◆ WithOriginal() [1/3]

Severity& Aws::SecurityHub::Model::Severity::WithOriginal ( Aws::String &&  value)
inline

The native severity from the finding product that generated the finding.

Definition at line 259 of file Severity.h.

◆ WithOriginal() [2/3]

Severity& Aws::SecurityHub::Model::Severity::WithOriginal ( const Aws::String value)
inline

The native severity from the finding product that generated the finding.

Definition at line 254 of file Severity.h.

◆ WithOriginal() [3/3]

Severity& Aws::SecurityHub::Model::Severity::WithOriginal ( const char *  value)
inline

The native severity from the finding product that generated the finding.

Definition at line 264 of file Severity.h.

◆ WithProduct()

Severity& Aws::SecurityHub::Model::Severity::WithProduct ( double  value)
inline

Deprecated. This attribute is being deprecated. Instead of providing Product, provide Original.

The native severity as defined by the Amazon Web Services service or integrated partner product that generated the finding.

Definition at line 77 of file Severity.h.


The documentation for this class was generated from the following file: