mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 16:26:38 +00:00
remove unused FleetDM fields from API spec and generated types
This commit is contained in:
@@ -4255,15 +4255,6 @@ components:
|
|||||||
description: Maximum number of allowed failing policies. Use 0 to require all policies to pass
|
description: Maximum number of allowed failing policies. Use 0 to require all policies to pass
|
||||||
minimum: 0
|
minimum: 0
|
||||||
example: 0
|
example: 0
|
||||||
failing_critical_policies_count_max:
|
|
||||||
type: integer
|
|
||||||
description: Maximum number of allowed failing critical policies (FleetDM Premium). Use 0 to require all critical policies to pass
|
|
||||||
minimum: 0
|
|
||||||
example: 0
|
|
||||||
os_version_min:
|
|
||||||
type: string
|
|
||||||
description: Minimum OS version required (e.g. "14.0", "22H2")
|
|
||||||
example: "14.0"
|
|
||||||
vulnerable_software_count_max:
|
vulnerable_software_count_max:
|
||||||
type: integer
|
type: integer
|
||||||
description: Maximum number of allowed vulnerable software on the host
|
description: Maximum number of allowed vulnerable software on the host
|
||||||
|
|||||||
@@ -1979,15 +1979,9 @@ type FleetDMMatchAttributes struct {
|
|||||||
// DiskEncryptionEnabled Whether disk encryption (FileVault/BitLocker) must be enabled on the host
|
// DiskEncryptionEnabled Whether disk encryption (FileVault/BitLocker) must be enabled on the host
|
||||||
DiskEncryptionEnabled *bool `json:"disk_encryption_enabled,omitempty"`
|
DiskEncryptionEnabled *bool `json:"disk_encryption_enabled,omitempty"`
|
||||||
|
|
||||||
// FailingCriticalPoliciesCountMax Maximum number of allowed failing critical policies (FleetDM Premium). Use 0 to require all critical policies to pass
|
|
||||||
FailingCriticalPoliciesCountMax *int `json:"failing_critical_policies_count_max,omitempty"`
|
|
||||||
|
|
||||||
// FailingPoliciesCountMax Maximum number of allowed failing policies. Use 0 to require all policies to pass
|
// FailingPoliciesCountMax Maximum number of allowed failing policies. Use 0 to require all policies to pass
|
||||||
FailingPoliciesCountMax *int `json:"failing_policies_count_max,omitempty"`
|
FailingPoliciesCountMax *int `json:"failing_policies_count_max,omitempty"`
|
||||||
|
|
||||||
// OsVersionMin Minimum OS version required (e.g. "14.0", "22H2")
|
|
||||||
OsVersionMin *string `json:"os_version_min,omitempty"`
|
|
||||||
|
|
||||||
// RequiredPolicies List of FleetDM policy IDs that must be passing on the host. If any of these policies is failing, the host is non-compliant
|
// RequiredPolicies List of FleetDM policy IDs that must be passing on the host. If any of these policies is failing, the host is non-compliant
|
||||||
RequiredPolicies *[]int `json:"required_policies,omitempty"`
|
RequiredPolicies *[]int `json:"required_policies,omitempty"`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user