Share via


CategoryConfiguration Class

Definition

Severity level per category configuration for PR Annotations.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Security.Models.CategoryConfigurationTypeConverter))]
public class CategoryConfiguration : Microsoft.Azure.PowerShell.Cmdlets.Security.Models.ICategoryConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Security.Models.CategoryConfigurationTypeConverter))>]
type CategoryConfiguration = class
    interface ICategoryConfiguration
    interface IJsonSerializable
Public Class CategoryConfiguration
Implements ICategoryConfiguration
Inheritance
CategoryConfiguration
Attributes
Implements

Constructors

CategoryConfiguration()

Creates an new CategoryConfiguration instance.

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CategoryConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CategoryConfiguration.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Security.Models.ICategoryConfiguration.

FromJsonString(String)

Creates a new instance of CategoryConfiguration, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of CategoryConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to