You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the chef automate we are getting the details of the policy file, we required a list of policy groups with name and no of total nodes in response, we can create a separate API for that, or we can add as additional information with details API.
Describe the problem
Using the chef automate we are getting the details of the policy file, we required a list of policy groups with
name
andno of total nodes
in response, we can create a separate API for that, or we can add as additional information with details API.Replication Case
example like:
request:
https://api.chef-server.dev/organizations/pedant_testorg_api_19024/policies/example-policy. <--- example URL
response we need:
Stacktrace
Possible Solution
we can also create a new API for the policy file groups
example
request - https://api.chef-server.dev/organizations/pedant_testorg_api_19024/policies/example-policy-name/policy_groups
response:
The text was updated successfully, but these errors were encountered: