Param Name | Description |
---|---|
location_id Optional |
Set the current location context for the request Validations:
|
organization_id Optional |
Set the current organization context for the request Validations:
|
search Optional |
výsledky filtru Validations:
|
order Optional |
Sort field and order, eg. ‘id DESC’ Validations:
|
page Optional |
Page number, starting at 1 Validations:
|
per_page Optional |
Number of results per page to return Validations:
|
Název kolonky | Typ | Možné hodnoty |
---|---|---|
content | string | |
location | string | |
location_id | integer | |
name | string | |
organization | string | |
organization_id | integer | |
profile | string | |
tailoring_file | string | |
tailoring_file_profile | string |
Param Name | Description |
---|---|
location_id Optional |
Set the current location context for the request Validations:
|
organization_id Optional |
Set the current organization context for the request Validations:
|
id Required |
Validations:
|
Param Name | Description |
---|---|
location_id Optional |
Set the current location context for the request Validations:
|
organization_id Optional |
Set the current organization context for the request Validations:
|
policy Required |
Validations:
|
policy[name] Required |
Policy name Validations:
|
policy[description] Optional , <span class="translation_missing" title="translation missing: cs-CZ.apipie.nil_allowed">Nil Allowed</span> |
Policy description Validations:
|
policy[scap_content_id] Required |
Policy SCAP content ID Validations:
|
policy[scap_content_profile_id] Required |
Policy SCAP content profile ID Validations:
|
policy[period] Optional , <span class="translation_missing" title="translation missing: cs-CZ.apipie.nil_allowed">Nil Allowed</span> |
Policy schedule period (weekly, monthly, custom) Validations:
|
policy[weekday] Optional , <span class="translation_missing" title="translation missing: cs-CZ.apipie.nil_allowed">Nil Allowed</span> |
Policy schedule weekday (only if period == “weekly”) Validations:
|
policy[day_of_month] Optional , <span class="translation_missing" title="translation missing: cs-CZ.apipie.nil_allowed">Nil Allowed</span> |
Policy schedule day of month (only if period == “monthly”) Validations:
|
policy[cron_line] Optional , <span class="translation_missing" title="translation missing: cs-CZ.apipie.nil_allowed">Nil Allowed</span> |
Policy schedule cron line (only if period == “custom”) Validations:
|
policy[hostgroup_ids] Optional , <span class="translation_missing" title="translation missing: cs-CZ.apipie.nil_allowed">Nil Allowed</span> |
Apply policy to host groups Validations:
|
policy[host_ids] Optional , <span class="translation_missing" title="translation missing: cs-CZ.apipie.nil_allowed">Nil Allowed</span> |
Apply policy to hosts Validations:
|
policy[tailoring_file_id] Optional , <span class="translation_missing" title="translation missing: cs-CZ.apipie.nil_allowed">Nil Allowed</span> |
Tailoring file ID Validations:
|
policy[tailoring_file_profile_id] Optional , <span class="translation_missing" title="translation missing: cs-CZ.apipie.nil_allowed">Nil Allowed</span> |
Tailoring file profile ID Validations:
|
policy[deploy_by] Required |
How the policy should be deployed Validations:
|
policy[location_ids] Optional , <span class="translation_missing" title="translation missing: cs-CZ.apipie.nil_allowed">Nil Allowed</span> |
REPLACE locations with given ids Validations:
|
policy[organization_ids] Optional , <span class="translation_missing" title="translation missing: cs-CZ.apipie.nil_allowed">Nil Allowed</span> |
REPLACE organizations with given ids. Validations:
|
Param Name | Description |
---|---|
location_id Optional |
Set the current location context for the request Validations:
|
organization_id Optional |
Set the current organization context for the request Validations:
|
id Required |
Validations:
|
policy Required |
Validations:
|
policy[name] Optional |
Policy name Validations:
|
policy[description] Optional , <span class="translation_missing" title="translation missing: cs-CZ.apipie.nil_allowed">Nil Allowed</span> |
Policy description Validations:
|
policy[scap_content_id] Optional |
Policy SCAP content ID Validations:
|
policy[scap_content_profile_id] Optional |
Policy SCAP content profile ID Validations:
|
policy[period] Optional , <span class="translation_missing" title="translation missing: cs-CZ.apipie.nil_allowed">Nil Allowed</span> |
Policy schedule period (weekly, monthly, custom) Validations:
|
policy[weekday] Optional , <span class="translation_missing" title="translation missing: cs-CZ.apipie.nil_allowed">Nil Allowed</span> |
Policy schedule weekday (only if period == “weekly”) Validations:
|
policy[day_of_month] Optional , <span class="translation_missing" title="translation missing: cs-CZ.apipie.nil_allowed">Nil Allowed</span> |
Policy schedule day of month (only if period == “monthly”) Validations:
|
policy[cron_line] Optional , <span class="translation_missing" title="translation missing: cs-CZ.apipie.nil_allowed">Nil Allowed</span> |
Policy schedule cron line (only if period == “custom”) Validations:
|
policy[hostgroup_ids] Optional , <span class="translation_missing" title="translation missing: cs-CZ.apipie.nil_allowed">Nil Allowed</span> |
Apply policy to host groups Validations:
|
policy[host_ids] Optional , <span class="translation_missing" title="translation missing: cs-CZ.apipie.nil_allowed">Nil Allowed</span> |
Apply policy to hosts Validations:
|
policy[tailoring_file_id] Optional , <span class="translation_missing" title="translation missing: cs-CZ.apipie.nil_allowed">Nil Allowed</span> |
Tailoring file ID Validations:
|
policy[tailoring_file_profile_id] Optional , <span class="translation_missing" title="translation missing: cs-CZ.apipie.nil_allowed">Nil Allowed</span> |
Tailoring file profile ID Validations:
|
policy[deploy_by] Optional |
How the policy should be deployed Validations:
|
policy[location_ids] Optional , <span class="translation_missing" title="translation missing: cs-CZ.apipie.nil_allowed">Nil Allowed</span> |
REPLACE locations with given ids Validations:
|
policy[organization_ids] Optional , <span class="translation_missing" title="translation missing: cs-CZ.apipie.nil_allowed">Nil Allowed</span> |
REPLACE organizations with given ids. Validations:
|
Param Name | Description |
---|---|
location_id Optional |
Set the current location context for the request Validations:
|
organization_id Optional |
Set the current organization context for the request Validations:
|
id Required |
Validations:
|
Param Name | Description |
---|---|
location_id Optional |
Set the current location context for the request Validations:
|
organization_id Optional |
Set the current organization context for the request Validations:
|
id Required |
Validations:
|
Param Name | Description |
---|---|
location_id Optional |
Set the current location context for the request Validations:
|
organization_id Optional |
Set the current organization context for the request Validations:
|
id Required |
Validations:
|