{{!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --}}

{{tt 'lbl.serviceName'}} : {{PolicyDetails.service}}

{{tt 'lbl.serviceType'}} : {{PolicyDetails.serviceType}}

{{tt 'h.policyDetails'}} :

{{#each PolicyDetails.resources}} {{/each}} {{#ifCond PolicyDetails.description '==' ""}} {{else}} {{/ifCond}} {{#if PolicyDetails.zoneName}} {{/if}}
{{tt 'lbl.policyType'}}
{{tt 'lbl.policyId'}}
{{tt 'lbl.version'}}
{{tt 'lbl.policyName'}} {{PolicyDetails.name}}
{{PolicyDetails.policyPriority}} {{PolicyDetails.isEnabled}}
{{tt 'lbl.policyLabels'}} {{#ifCond PolicyDetails.policyLabels.length '==' "0"}} -- {{else}} {{#each PolicyDetails.policyLabels}} {{this}} {{/each}} {{/ifCond}}
{{this.label}} {{#each this.values}} {{this}} {{/each}} {{this.Rec_Recursive}} {{this.Rec_Exc}}
{{tt 'lbl.description'}} -- {{PolicyDetails.description}}
{{tt 'lbl.auditLogging'}} {{PolicyDetails.isAuditEnabled}}
{{tt 'lbl.zoneName'}} {{#if PolicyDetails.zoneName}} {{PolicyDetails.zoneName}} {{else}} -- {{/if}}
{{#if PolicyDetails.validitySchedules}}

Validity Period :

{{#each PolicyDetails.validitySchedules}} {{/each}}
Start Time End Time Time zone
{{blankCheck this.startTime}} {{blankCheck this.endTime}} {{#if this.timeZone}} {{this.timeZone}} {{else}} -- {{/if}}
{{/if}} {{#if PolicyDetails.conditions}}

Policy Conditions :

{{#each PolicyDetails.conditions}} {{/each}}
{{this.name}} {{this.values}}
{{/if}} {{#each PolicyDetails.policyItemsCond}}

{{this.title}} :

{{#each this.headers}} {{/each}} {{#ifCond this.policyItems.length '==' "0"}} {{else}} {{#each this.policyItems}} {{#if ../../PolicyDetails.policyCondition}} {{/if}} {{#if this.dataMaskInfo}} {{#ifCond this.dataMaskInfo.dataMaskType '==' "CUSTOM"}} {{else}} {{/ifCond}} {{/if}} {{#if this.rowFilterInfo}} {{/if}} {{#if ../../isDelegatAdmin}} {{/if}} {{/each}} {{/ifCond}}
{{this}}
No policy items of "{{this.title}}" are present
{{#if this.roles}} {{#each this.roles}} {{this}} {{/each}} {{else}} -- {{/if}} {{#if this.groups}} {{#each this.groups}} {{this}} {{/each}} {{else}} -- {{/if}} {{#if this.users}} {{#each this.users}} {{this}} {{/each}} {{else}} -- {{/if}} {{#if this.conditions}} {{#each this.conditions}} {{this.type}} : {{#each this.values}} {{this}} {{/each}} {{/each}} {{else}} -- {{/if}} {{#each this.accesses}} {{#if this.isAllowed}}{{this.type}}{{/if}} {{/each}} {{this.dataMaskInfo.label}} : {{this.dataMaskInfo.valueExpr}} {{this.dataMaskInfo.label}} {{#if this.rowFilterInfo.filterExpr}} {{this.rowFilterInfo.filterExpr}} {{else}} -- {{/if}}
{{#compare "Exclude from Allow Conditions" "eq" this.title}} {{#if ../isDenyAllElse}}
{{tt 'lbl.isDenyAllElse'}} : {{ ../PolicyDetails.isDenyAllElse}}
{{/if}} {{/compare}} {{/each}}

{{tt 'lbl.updatedBy'}} : {{PolicyDetails.updatedBy}}

{{tt 'lbl.updatedOn'}} : {{PolicyDetails.updateTime}}

{{tt 'lbl.createdBy'}} : {{PolicyDetails.createdBy}}

{{tt 'lbl.createdOn'}} : {{PolicyDetails.createTime}}