Skip to content

Commit

Permalink
Merge pull request #1366 from jlu-cloudflare/master
Browse files Browse the repository at this point in the history
Update support for tanium_s2s posture rules
  • Loading branch information
jacobbednarz committed Aug 10, 2023
2 parents 64904ba + 85baac8 commit ea84c00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/1366.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
device_posture_rule: support eid_last_seen and risk_level and correct total_score for Tanium posture rule
```
4 changes: 3 additions & 1 deletion device_posture_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,14 +186,16 @@ type DevicePostureRuleInput struct {
ConnectionID string `json:"connection_id,omitempty"`
IssueCount string `json:"issue_count,omitempty"`
CountOperator string `json:"countOperator,omitempty"`
TotalScore string `json:"total_score,omitempty"`
TotalScore int `json:"total_score,omitempty"`
ScoreOperator string `json:"scoreOperator,omitempty"`
CertificateID string `json:"certificate_id,omitempty"`
CommonName string `json:"cn,omitempty"`
ActiveThreats int `json:"active_threats,omitempty"`
NetworkStatus string `json:"network_status,omitempty"`
Infected bool `json:"infected,omitempty"`
IsActive bool `json:"is_active,omitempty"`
EidLastSeen string `json:"eid_last_seen,omitempty"`
RiskLevel string `json:"risk_level,omitempty"`
}

// DevicePostureRuleListResponse represents the response from the list
Expand Down

0 comments on commit ea84c00

Please sign in to comment.