Merge branch 'SciSharp:master' into master

This commit is contained in:
hchen2020 2025-01-08 13:54:05 -06:00 committed by GitHub
commit 9df4cd8f44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 12 deletions

View file

@ -8,12 +8,6 @@ public class AgentRule
[JsonPropertyName("disabled")]
public bool Disabled { get; set; }
[JsonPropertyName("event_name")]
public string EventName { get; set; }
[JsonPropertyName("entity_type")]
public string EntityType { get; set; }
[JsonPropertyName("criteria")]
public string Criteria { get; set; }
}

View file

@ -6,8 +6,6 @@ public class AgentRuleMongoElement
{
public string TriggerName { get; set; }
public bool Disabled { get; set; }
public string EventName { get; set; }
public string EntityType { get; set; }
public string Criteria { get; set; }
public static AgentRuleMongoElement ToMongoElement(AgentRule rule)
@ -16,8 +14,6 @@ public class AgentRuleMongoElement
{
TriggerName = rule.TriggerName,
Disabled = rule.Disabled,
EventName = rule.EventName,
EntityType = rule.EntityType,
Criteria = rule.Criteria
};
}
@ -28,8 +24,6 @@ public class AgentRuleMongoElement
{
TriggerName = rule.TriggerName,
Disabled = rule.Disabled,
EventName = rule.EventName,
EntityType = rule.EntityType,
Criteria = rule.Criteria
};
}