Project

General

Profile

Actions

Bug #28359

closed

"provisioning_template" no longer recognized as auditable_type

Added by Marek Hulán over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Audit Log
Target version:
-
Difficulty:
Triaged:
No
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 1 (0 open1 closed)

Related to Foreman - Feature #26627: add a rake task to render templates in a directoryClosedTimo GoebelActions
Actions #1

Updated by The Foreman Bot over 4 years ago

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

Updated by Marek Hulán over 4 years ago

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

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases 2.0.0 added
Actions #4

Updated by Anonymous over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Tomer Brisker over 4 years 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)
Actions

Also available in: Atom PDF