The purpose of this repository is to allow Splunk community to report issues and enhancements requests
2
stars
0
forks
source link
bug - API Documentation & Reference - Incorrect API reference examples for tags policies management endpoints (component is missing for all examples) #802
bug - API Documentation & Reference - Incorrect API reference examples for tags policies management endpoints (component is missing for all examples)
The documentation for the API Documentation & Reference for the tags policies management is missing the component argument for all examples.
In version 2.1.1 the API reference for tag_policies_add is:
| trackme mode=post url="/services/trackme/v2/splk_tag_policies/write/tag_policies_add" body="{'tenant_id': 'mytenant', 'tags_policy_id': 'linux_secure', 'tags_policy_id': 'linux_secure', 'tags_policy_value': 'Linux,OS,CIM', 'tags_policy_regex': '\:linux_secure$'}"
This results in "missing component".
Changing it accordingly makes it work (the tags_policy_id appeared twice in the reference)
bug - API Documentation & Reference - Incorrect API reference examples for tags policies management endpoints (component is missing for all examples)
In version 2.1.1 the API reference for tag_policies_add is: | trackme mode=post url="/services/trackme/v2/splk_tag_policies/write/tag_policies_add" body="{'tenant_id': 'mytenant', 'tags_policy_id': 'linux_secure', 'tags_policy_id': 'linux_secure', 'tags_policy_value': 'Linux,OS,CIM', 'tags_policy_regex': '\:linux_secure$'}"
This results in "missing component". Changing it accordingly makes it work (the tags_policy_id appeared twice in the reference)
| trackme mode=post url="/services/trackme/v2/splk_tag_policies/write/tag_policies_add" body="{'tenant_id': 'mytenant', 'tags_policy_id': 'linux_secure', 'component': 'dsm', 'tags_policy_value': 'Linux,OS,CIM', 'tags_policy_regex': '\:linux_secure$'}"