Bug #28359
closed"provisioning_template" no longer recognized as auditable_type
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1771421
Description of problem:
GET https://sat67-server.com/api/v2/audits?search=type=provisioning_template
returns:
WARNING - Received HTTP 400 response: {
"error": {"message":"'auditable_type' should be one of 'role, ptable, filter, hostgroup, smart_proxy, katello/host/content_facet, katello/host/subscription_facet, remote_execution_feature, usergroup, katello/content_view, katello/kt_environment, environment, http_proxy, lookup_value, model, domain, realm, architecture, image, discovery_rule, katello/host_collection, hostgroup_class, puppetclass, medium, job_template, bookmark, katello/activation_key, katello/content_view_puppet_module, katello/content_view_version, katello/gpg_key, katello/root_repository, katello/product, katello/sync_plan, katello/capsule_lifecycle_environment, katello/content_view_component, katello/content_view_environment, job_invocation, ansible_role, foreman_virt_who_configure/config, foreman_openscap/policy, foreman_openscap/scap_content, foreman_openscap/tailoring_file, compute_attribute, compute_profile, config_group, config_group_class, report_template, ssh_key, personal_access_token, host_class, host_config_group, key_pair, auth_source, compute_resource, host, interface, location, organization, os, override_value, parameter, partition_table, setting, smart_class_parameter, smart_variable, subnet, user', but the query was 'provisioning_template'","class":"ScopedSearch::QueryNotSupported"}
}
This is a regression in 6.7.
Version-Release number of selected component (if applicable):
6.7.0-1.0
How reproducible:
always
Steps to Reproduce:
1. curl -sku admin:changeme https://sat67-server.com/api/v2/audits?search=type=provisioning_template