Skip to content

#45735 API design: Allow enabling/disabling software inventory per-team via the API - #49311

Draft
rachaelshaw wants to merge 2 commits into
docs-v4.91.0from
45735-api-changes
Draft

#45735 API design: Allow enabling/disabling software inventory per-team via the API#49311
rachaelshaw wants to merge 2 commits into
docs-v4.91.0from
45735-api-changes

Conversation

@rachaelshaw

Copy link
Copy Markdown
Member

Comment thread docs/REST API/rest-api.md Outdated
Comment thread docs/REST API/rest-api.md
| mdm | object | body | MDM settings for the fleet. See [mdm](#mdm2) for details. |
| host_expiry_settings | object | body | Host expiry settings for the fleet. See [host_expiry_settings](#host-expiry-settings2) for details. |
| features | object | body | Per-fleet feature toggles. v1 accepts only the `historical_data` sub-field; other `features` sub-fields are writable per-fleet only via GitOps. See [features.historical_data](#features-historical-data) below. |
| features | object | body | Per-fleet feature toggles. Accepts only certain sub-fields; other `features` sub-fields are writable per-fleet only via GitOps. See [features](#features2) below. |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| features | object | body | Per-fleet feature toggles. Accepts only certain sub-fields; other `features` sub-fields are writable per-fleet only via GitOps. See [features](#features2) below. |
| features | object | body | Per-fleet feature toggles. Accepts only certain sub-fields; other `features` sub-fields are writable per-fleet only via GitOps. See [features](#features) below. |

Comment thread docs/REST API/rest-api.md

| Name | Type | Description |
| --------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| enable_software_inventory | boolean | Whether to enable software inventory for this fleet. Only applies if `features.enable_software_inventory` is not enabled globally. If this key is omitted, the previously-configured value does not change. |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| enable_software_inventory | boolean | Whether to enable software inventory for this fleet. Only applies if `features.enable_software_inventory` is not enabled globally. If this key is omitted, the previously-configured value does not change. |
| enable_software_inventory | boolean | Whether to enable software inventory for this fleet. If this key is omitted, the previously-configured value does not change. |

It seems the enable_software_inventory in the default.yml applies to Unassigned hosts only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants