Project

General

Profile

Actions

Bug #20666

closed

Scap CLI policy update successful with no scap-profile

Added by Ondřej Pražák over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Target version:

Description

Steps to Reproduce:
policy info --id 5
Id: 5
Name: test1
Created at: 2017-08-17 13:26:59 UTC
Period: monthly
Weekday:
Cron line:
Scap content Id: 4
Scap Content profile Id: 23
Tailoring file Id: 1
Tailoring file profile Id: 52
Locations:
Default Location
Organizations:
Default Organization

hammer> policy update --id 5 --scap-content-id 3
Policy updated

policy info --id 5
Id: 5
Name: test1
Created at: 2017-08-17 13:26:59 UTC
Period: monthly
Weekday:
Cron line:
Scap content Id: 3
Scap Content profile Id: 23
Tailoring file Id: 1
Tailoring file profile Id: 52
Locations:
Default Location
Organizations:
Default Organization

Here, the weird part , scap-content 3 , doesn't have a profile-id 23

Actual results:
Scap policy was updated without scap-profile-id parameter

Expected results:
Scap policy update should not be updated with scap-profile parameter

Actions #1

Updated by The Foreman Bot over 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ondřej Pražák
  • Pull request https://github.com/theforeman/foreman_openscap/pull/279 added
Actions #2

Updated by Ondřej Pražák over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by The Foreman Bot over 6 years ago

  • Pull request https://github.com/theforeman/foreman_openscap/pull/283 added
Actions #4

Updated by Marek Hulán over 6 years ago

  • Subject changed from Scap CLI policy update successful with no scap-profile to Scap CLI policy update successful with no scap-profile
  • translation missing: en.field_release set to 274
Actions #5

Updated by The Foreman Bot over 6 years ago

  • Pull request https://github.com/theforeman/foreman_openscap/pull/287 added
Actions

Also available in: Atom PDF