From 92b81a30aa9bbcf6208d9c26ab6cfd6a5bf1ae69 Mon Sep 17 00:00:00 2001 From: Jacob Bednarz Date: Thu, 15 Sep 2022 08:58:28 +1000 Subject: [PATCH 1/2] device_posture_rule: add input fields for linux OS --- device_posture_rule.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/device_posture_rule.go b/device_posture_rule.go index 77031046ea0..e38280f293e 100644 --- a/device_posture_rule.go +++ b/device_posture_rule.go @@ -171,6 +171,8 @@ type DevicePostureRuleInput struct { RequireAll bool `json:"requireAll,omitempty"` Enabled bool `json:"enabled,omitempty"` Version string `json:"version,omitempty"` + OsDistroName string `json:"os_distro_name,omitempty"` + OsDistroRevision string `json:"os_distro_revision,omitempty"` Operator string `json:"operator,omitempty"` Domain string `json:"domain,omitempty"` ComplianceStatus string `json:"compliance_status,omitempty"` From 7ca49f66c4adcbc03192e07249543a6ec0aed8cc Mon Sep 17 00:00:00 2001 From: Jacob Bednarz Date: Thu, 15 Sep 2022 09:09:15 +1000 Subject: [PATCH 2/2] add CHANGELOG --- .changelog/1087.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .changelog/1087.txt diff --git a/.changelog/1087.txt b/.changelog/1087.txt new file mode 100644 index 00000000000..7a46321d6e2 --- /dev/null +++ b/.changelog/1087.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +device_posture_rule: add input fields for linux OS +```