Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance the management of posture checks #1595

Merged
merged 8 commits into from
Feb 19, 2024
Next Next commit
add a correct min version and kernel for os posture check example
  • Loading branch information
bcmmbaga committed Feb 19, 2024
commit 36fc34280539e6c62e6abbf3b51f2d699e09e92f
17 changes: 14 additions & 3 deletions management/server/http/api/openapi.yml
Original file line number Diff line number Diff line change
@@ -868,11 +868,22 @@ components:
description: Minimum version of iOS
$ref: '#/components/schemas/MinVersionCheck'
linux:
description: Minimum version of Linux
description: Minimum Linux kernel version
$ref: '#/components/schemas/MinKernelVersionCheck'
windows:
description: Minimum version of Windows
description: Minimum Windows kernel build version
$ref: '#/components/schemas/MinKernelVersionCheck'
example:
android:
min_version: "13"
ios:
min_version: "17.3.1"
darwin:
min_version: "14.2.1"
linux:
min_kernel_version: "5.3.3"
windows:
min_kernel_version: "10.0.1234"
MinVersionCheck:
description: Posture check for the version of operating system
type: object
@@ -884,7 +895,7 @@ components:
required:
- min_version
MinKernelVersionCheck:
description: Posture check for the version of kernel
description: Posture check with the kernel version
type: object
properties:
min_kernel_version: