Project

General

Profile

Actions

Bug #7257

closed

all facts returned if host has no facts

Added by Ivan Gusev over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Search
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Every fact Foreman knows about is returned if host has no facts

Steps to reproduce:

1). Create new host entry in foreman, for example foo
2). Open /api/hosts/foo/facts
(optionally use ?per_page=99999999)

Result:

All facts in Foreman database returned

Expected result:

Empty hash

Tested on 1.5.1

Actions

Also available in: Atom PDF