|
@ -416,11 +416,11 @@ func formatHour(hour int) string { |
|
|
|
|
|
|
|
|
// PolicyTemplateDefinition represents metadata about a policy template
|
|
|
// PolicyTemplateDefinition represents metadata about a policy template
|
|
|
type PolicyTemplateDefinition struct { |
|
|
type PolicyTemplateDefinition struct { |
|
|
Name string `json:"name"` |
|
|
|
|
|
Description string `json:"description"` |
|
|
|
|
|
Category string `json:"category"` |
|
|
|
|
|
UseCase string `json:"use_case"` |
|
|
|
|
|
Parameters []PolicyTemplateParam `json:"parameters,omitempty"` |
|
|
|
|
|
|
|
|
Name string `json:"name"` |
|
|
|
|
|
Description string `json:"description"` |
|
|
|
|
|
Category string `json:"category"` |
|
|
|
|
|
UseCase string `json:"use_case"` |
|
|
|
|
|
Parameters []PolicyTemplateParam `json:"parameters,omitempty"` |
|
|
Policy *policy.PolicyDocument `json:"policy"` |
|
|
Policy *policy.PolicyDocument `json:"policy"` |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|