cloudapi/v2: populate openscap related rhsm facts
Also adds the policy id to the blueprint, this doesn't have any effect on the openscap step, it just puts in place the rhsm fact so instances registered to insights will appear under that policy.
This commit is contained in:
parent
387f971bf0
commit
b21f24e751
4 changed files with 227 additions and 180 deletions
|
|
@ -122,6 +122,7 @@ type OpenSCAPCustomization struct {
|
|||
ProfileID string `json:"profile_id,omitempty" toml:"profile_id,omitempty"`
|
||||
Tailoring *OpenSCAPTailoringCustomizations `json:"tailoring,omitempty" toml:"tailoring,omitempty"`
|
||||
JSONTailoring *OpenSCAPJSONTailoringCustomizations `json:"json_tailoring,omitempty" toml:"json_tailoring,omitempty"`
|
||||
PolicyID string `json:"policy_id,omitempty" toml:"policy_id,omitempty"`
|
||||
}
|
||||
|
||||
type OpenSCAPTailoringCustomizations struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue