Enum LintResult.Severity (3.31.0)

public enum LintResult.Severity extends Enum<LintResult.Severity> implements ProtocolMessageEnum

Possible Severity values of an issued result.

Protobuf enum google.iam.admin.v1.LintResult.Severity

Implements

ProtocolMessageEnum

Static Fields

NameDescription
DEPRECATED

Deprecated severity level.

DEPRECATED = 5;

DEPRECATED_VALUE

Deprecated severity level.

DEPRECATED = 5;

ERROR

A validation unit returns an error only for critical issues. If an attempt is made to set the problematic policy without rectifying the critical issue, it causes the setPolicy operation to fail.

ERROR = 1;

ERROR_VALUE

A validation unit returns an error only for critical issues. If an attempt is made to set the problematic policy without rectifying the critical issue, it causes the setPolicy operation to fail.

ERROR = 1;

INFO

Any informative statement which is not severe enough to raise ERROR/WARNING/NOTICE, like auto-correction recommendations on the input content. Note that current version of the linter does not utilize INFO.

INFO = 4;

INFO_VALUE

Any informative statement which is not severe enough to raise ERROR/WARNING/NOTICE, like auto-correction recommendations on the input content. Note that current version of the linter does not utilize INFO.

INFO = 4;

NOTICE

Reserved for the issues that are not severe as ERROR/WARNING, but need special handling. For instance, messages about skipped validation units are issued as NOTICE.

NOTICE = 3;

NOTICE_VALUE

Reserved for the issues that are not severe as ERROR/WARNING, but need special handling. For instance, messages about skipped validation units are issued as NOTICE.

NOTICE = 3;

SEVERITY_UNSPECIFIED

Severity is unspecified.

SEVERITY_UNSPECIFIED = 0;

SEVERITY_UNSPECIFIED_VALUE

Severity is unspecified.

SEVERITY_UNSPECIFIED = 0;

UNRECOGNIZED
WARNING

Any issue which is severe enough but does not cause an error. For example, suspicious constructs in the input object will not necessarily fail setPolicy, but there is a high likelihood that they won't behave as expected during policy evaluation in checkPolicy. This includes the following common scenarios:

  • Unsatisfiable condition: Expired timestamp in date/time condition.
  • Ineffective condition: Condition on a <principal, role> pair which is granted unconditionally in another binding of the same policy.

WARNING = 2;

WARNING_VALUE

Any issue which is severe enough but does not cause an error. For example, suspicious constructs in the input object will not necessarily fail setPolicy, but there is a high likelihood that they won't behave as expected during policy evaluation in checkPolicy. This includes the following common scenarios:

  • Unsatisfiable condition: Expired timestamp in date/time condition.
  • Ineffective condition: Condition on a <principal, role> pair which is granted unconditionally in another binding of the same policy.

WARNING = 2;

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()