CategoryConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. CategoryConfiguration
- com.
public final class CategoryConfiguration
Severity level per category configuration for PR Annotations.
Constructor Summary
Constructor | Description |
---|---|
CategoryConfiguration() |
Creates an instance of Category |
Method Summary
Modifier and Type | Method and Description |
---|---|
Rule |
category()
Get the category property: Rule categories. |
String |
minimumSeverityLevel()
Get the minimum |
void |
validate()
Validates the instance. |
Category |
withCategory(RuleCategory category)
Set the category property: Rule categories. |
Category |
withMinimumSeverityLevel(String minimumSeverityLevel)
Set the minimum |
Methods inherited from java.lang.Object
Constructor Details
CategoryConfiguration
public CategoryConfiguration()
Creates an instance of CategoryConfiguration class.
Method Details
category
public RuleCategory category()
Get the category property: Rule categories. Code - code scanning results. Artifact scanning results. Dependencies scanning results. IaC results. Secrets scanning results. Container scanning results.
Returns:
minimumSeverityLevel
public String minimumSeverityLevel()
Get the minimumSeverityLevel property: Gets or sets minimum severity level for a given category.
Returns:
validate
public void validate()
Validates the instance.
withCategory
public CategoryConfiguration withCategory(RuleCategory category)
Set the category property: Rule categories. Code - code scanning results. Artifact scanning results. Dependencies scanning results. IaC results. Secrets scanning results. Container scanning results.
Parameters:
Returns:
withMinimumSeverityLevel
public CategoryConfiguration withMinimumSeverityLevel(String minimumSeverityLevel)
Set the minimumSeverityLevel property: Gets or sets minimum severity level for a given category.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for