SensitiveDataAttribute
- Namespace:
PPDS.Dataverse.Security - Assembly:
PPDS.Dataverse - Kind: Class
- Base:
Attribute
Summary
Marks a property or field as containing sensitive data that should not be logged or displayed. This attribute serves as documentation and can be used by static analysis tools or custom serializers to identify data requiring redaction.
Members
Constructors
SensitiveDataAttribute()
SensitiveDataAttribute()
Initializes a new instance of the PPDS.Dataverse.Security.SensitiveDataAttribute class.
SensitiveDataAttribute(string reason)
SensitiveDataAttribute(string reason)
Initializes a new instance of the PPDS.Dataverse.Security.SensitiveDataAttribute class.
- Param
reason: A description of why this data is sensitive.
Properties
DataType
string DataType { get; set; }
Gets or sets the type of sensitive data (e.g., "ConnectionString", "ApiKey", "Password").
Reason
string Reason { get; set; }
Gets or sets a description of why this data is sensitive.