PolicyViolation Class

Definition

A policy violation reported against a gallery artifact.

public class PolicyViolation
type PolicyViolation = class
Public Class PolicyViolation
Inheritance
PolicyViolation

Constructors

PolicyViolation()

Initializes a new instance of the PolicyViolation class.

PolicyViolation(String, String)

Initializes a new instance of the PolicyViolation class.

Properties

Category

Gets or sets describes the nature of the policy violation. Possible values include: 'Other', 'ImageFlaggedUnsafe', 'CopyrightValidation', 'IpTheft'

Details

Gets or sets describes specific details about why this policy violation was reported.

Applies to