Closed viccuad closed 1 year ago
kwctl annotate
already gobbles the annotations, and annotates the policy correctly. The annotations appear also in kwctl inspect
.
The missing part then is kwctl scaffold
, so they are added to the object metadata.annotations
, if they are present.
With the audit feature, we added support for new Policy Resource annotations (not to confuse with Policy metadata.yaml annotations), for policy severity and policy category. These are:
Acceptance criteria
kwctl annotate
&kwctl inspect
, so they are part of metadata.yaml as others.kwctl scaffold
treat these, possibly setting empty values for them with an explanation comment.