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
Leaving the parameter name to file_id on application_logs.clear and application_logs.delete is misleading. This API call actually uses the file_path as the other /isam/application_logs functions.
For instance, when calling /isam/application_logs/get_all we will get the following response body :
If you use the real file id, here it would be 0, when calling we usually get the following response "message": "The requested resource does not exist." while using the full file path, here it would be access_control/auditing/audit.log, it will do the expected job.
The text was updated successfully, but these errors were encountered:
The intention was to match the REST API documentation for the variables used in the function - so we did not have to document it again.
Looks like both clear() and delete() should simply take "files". Will look into updating it - problem is it may cause folks playbooks to break. Will need to think about how to maintain backward compatibility...
Leaving the parameter name to
file_id
on application_logs.clear and application_logs.delete is misleading. This API call actually uses thefile_path
as the other/isam/application_logs
functions.For instance, when calling
/isam/application_logs/get_all
we will get the following response body :If you use the real file id, here it would be
0
, when calling we usually get the following response"message": "The requested resource does not exist."
while using the full file path, here it would beaccess_control/auditing/audit.log
, it will do the expected job.The text was updated successfully, but these errors were encountered: