Project

General

Profile

Bug #28359

"provisioning_template" no longer recognized as auditable_type

Added by Marek Hulán 8 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Audit Log
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

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


Related issues

Related to Foreman - Feature #26627: add a rake task to render templates in a directoryClosed

Associated revisions

Revision 4808aadd (diff)
Added by Dominik Matoulek 7 months ago

Fixes #28359 - Added Provisioning Template to auditable_types (#7221)

History

#1 Updated by The Foreman Bot 8 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7221 added

#2 Updated by Marek Hulán 7 months ago

  • Related to Feature #26627: add a rake task to render templates in a directory added

#3 Updated by The Foreman Bot 7 months ago

  • Fixed in Releases 2.0.0 added

#4 Updated by Anonymous 7 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Tomer Brisker 7 months ago

  • Subject changed from "provisioning_template" no longer recognized as auditable_type to "provisioning_template" no longer recognized as auditable_type
  • Fixed in Releases 1.24.0 added
  • Fixed in Releases deleted (2.0.0)

Also available in: Atom PDF