Partager via


CategoryConfiguration Class

Definition

Severity level per category configuration for PR Annotations.

public class CategoryConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityCenter.Models.CategoryConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityCenter.Models.CategoryConfiguration>
type CategoryConfiguration = class
    interface IJsonModel<CategoryConfiguration>
    interface IPersistableModel<CategoryConfiguration>
Public Class CategoryConfiguration
Implements IJsonModel(Of CategoryConfiguration), IPersistableModel(Of CategoryConfiguration)
Inheritance
CategoryConfiguration
Implements

Constructors

CategoryConfiguration()

Initializes a new instance of CategoryConfiguration.

Properties

Category

Rule categories. Code - code scanning results. Artifact scanning results. Dependencies scanning results. IaC results. Secrets scanning results. Container scanning results.

MinimumSeverityLevel

Gets or sets minimum severity level for a given category.

Explicit Interface Implementations

IJsonModel<CategoryConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CategoryConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CategoryConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CategoryConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CategoryConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to