diff --git a/internal/blueprint/customizations.go b/internal/blueprint/customizations.go index fcf788f81..303fab13c 100644 --- a/internal/blueprint/customizations.go +++ b/internal/blueprint/customizations.go @@ -116,9 +116,10 @@ type ServicesCustomization struct { } type OpenSCAPCustomization struct { - DataStream string `json:"datastream,omitempty" toml:"datastream,omitempty"` - ProfileID string `json:"profile_id,omitempty" toml:"profile_id,omitempty"` - Tailoring *OpenSCAPTailoringCustomizations `json:"tailoring,omitempty" toml:"tailoring,omitempty"` + DataStream string `json:"datastream,omitempty" toml:"datastream,omitempty"` + 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"` } type OpenSCAPTailoringCustomizations struct { @@ -126,6 +127,11 @@ type OpenSCAPTailoringCustomizations struct { Unselected []string `json:"unselected,omitempty" toml:"unselected,omitempty"` } +type OpenSCAPJSONTailoringCustomizations struct { + ProfileID string `json:"profile_id,omitempty" toml:"profile_id,omitempty"` + Filepath string `json:"filepath,omitempty" toml:"filepath,omitempty"` +} + type CustomizationError struct { Message string }