Class ResourceProfile
Resource profile details.
Inherited Members
Namespace: Oci.CloudguardService.Models
Assembly: OCI.DotNetSDK.Cloudguard.dll
Syntax
public class ResourceProfile
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | Compartment OCID for the resource profile |
Remarks
Required
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | Display name for the resource profile |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | Unique identifier for the resource profile |
Remarks
Required
Locks
Declaration
[JsonProperty(PropertyName = "locks")]
public List<ResourceLock> Locks { get; set; }
Property Value
Type | Description |
---|---|
List<ResourceLock> | Locks associated with this resource. |
PeakRiskScore
Declaration
[JsonProperty(PropertyName = "peakRiskScore")]
public double PeakRiskScore { get; set; }
Property Value
Type | Description |
---|---|
double | Peak risk score for the resource profile |
ProblemIds
Declaration
[JsonProperty(PropertyName = "problemIds")]
public List<string> ProblemIds { get; set; }
Property Value
Type | Description |
---|---|
List<string> | List of problems IDs associated with the resource profile |
ResourceId
Declaration
[Required(ErrorMessage = "ResourceId is required.")]
[JsonProperty(PropertyName = "resourceId")]
public string ResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | Unique identifier for the resource associated with the resource profile |
Remarks
Required
RiskLevel
Declaration
[JsonProperty(PropertyName = "riskLevel")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RiskLevel? RiskLevel { get; set; }
Property Value
Type | Description |
---|---|
RiskLevel? | Risk level associated with resource profile |
RiskScore
Declaration
[Required(ErrorMessage = "RiskScore is required.")]
[JsonProperty(PropertyName = "riskScore")]
public double RiskScore { get; set; }
Property Value
Type | Description |
---|---|
double | Risk score for the resource profile |
Remarks
Required
SightingsCount
Declaration
[JsonProperty(PropertyName = "sightingsCount")]
public int? SightingsCount { get; set; }
Property Value
Type | Description |
---|---|
int? | Number of sightings associated with the resource profile |
Tactics
Declaration
[Required(ErrorMessage = "Tactics is required.")]
[JsonProperty(PropertyName = "tactics")]
public List<TacticSummary> Tactics { get; set; }
Property Value
Type | Description |
---|---|
List<TacticSummary> | List of tactic summaries associated with the resource profile |
Remarks
Required
TargetId
Declaration
[JsonProperty(PropertyName = "targetId")]
public string TargetId { get; set; }
Property Value
Type | Description |
---|---|
string | Unique target ID for the resource profile |
TimeFirstDetected
Declaration
[Required(ErrorMessage = "TimeFirstDetected is required.")]
[JsonProperty(PropertyName = "timeFirstDetected")]
public DateTime? TimeFirstDetected { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Time the activities were first detected. Format defined by RFC3339. |
Remarks
Required
TimeFirstOccurred
Declaration
[JsonProperty(PropertyName = "timeFirstOccurred")]
public DateTime? TimeFirstOccurred { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Time the activities were first performed. Format defined by RFC3339. |
TimeLastDetected
Declaration
[Required(ErrorMessage = "TimeLastDetected is required.")]
[JsonProperty(PropertyName = "timeLastDetected")]
public DateTime? TimeLastDetected { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Time the activities were last detected. Format defined by RFC3339. |
Remarks
Required
TimeLastOccurred
Declaration
[JsonProperty(PropertyName = "timeLastOccurred")]
public DateTime? TimeLastOccurred { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Time the activities were last performed. Format defined by RFC3339. |
TimePeakScore
Declaration
[JsonProperty(PropertyName = "timePeakScore")]
public DateTime? TimePeakScore { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time for the peak risk score. Format defined by RFC3339. |
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
public string Type { get; set; }
Property Value
Type | Description |
---|---|
string | Resource type for the resource profile |
Remarks
Required