From 29e2982929f790105e98ab0a1d7dfce9e12852bc Mon Sep 17 00:00:00 2001 From: Justin Lu Date: Thu, 29 Feb 2024 17:09:45 -0800 Subject: [PATCH] Add support for last_seen and state for crowdstrike_s2s posture rule --- .changelog/1509.txt | 3 +++ device_posture_rule.go | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 .changelog/1509.txt diff --git a/.changelog/1509.txt b/.changelog/1509.txt new file mode 100644 index 0000000000..ce5c97d109 --- /dev/null +++ b/.changelog/1509.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +device_posture_rule: support last_seen and state for crowdstrike_s2s posture rule +``` \ No newline at end of file diff --git a/device_posture_rule.go b/device_posture_rule.go index 02c0cfe46e..4768b77048 100644 --- a/device_posture_rule.go +++ b/device_posture_rule.go @@ -198,6 +198,8 @@ type DevicePostureRuleInput struct { IsActive bool `json:"is_active,omitempty"` EidLastSeen string `json:"eid_last_seen,omitempty"` RiskLevel string `json:"risk_level,omitempty"` + State string `json:"state,omitempty"` + LastSeen string `json:"last_seen,omitempty"` } // DevicePostureRuleListResponse represents the response from the list