"use strict";(self.webpackChunkdvls=self.webpackChunkdvls||[]).push([[1214],{81214:(k,r,a)=>{a.r(r),a.d(r,{PamConfigurationModule:()=>b});var l=a(18596),o=a(74710),p=a(86556),e=a(54438);let m=(()=>{class t extends p.k{constructor(){super()}getComponentTitle(){return"gbPrivilegeAccessManagement"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=e.VBU({type:t,selectors:[["ng-component"]],features:[e.Vt3],decls:2,vars:0,consts:[[1,"full-height","full-width"]],template:function(i,s){1&i&&(e.j41(0,"div",0),e.nrm(1,"router-outlet"),e.k0s())},dependencies:[o.n3],encapsulation:2})}}return t})();var u=a(93028),d=a(19961),h=a(53128),g=a(39380),c=a(57499);const f=[{path:"",component:m,canActivate:[u.q],children:[{path:"",component:(()=>{class t extends d.p{constructor(n){super(),this.translateService=n,this.titleHeader=[{title:"lblAdministration",link:"/administration"},{title:"gbPrivilegeAccessManagement"}],this.sections=[],this.sectionsTemplate=[]}ngOnInit(){super.ngOnInit(),this.isPamManager=this.currentUserService.isAdministrator||this.currentUserService.accessSnapshot.hasAccessPamManageCredentials,this.createSectionsTemplate();const n=this.sectionsTemplate.filter(i=>i.items.some(s=>s.condition()));n.forEach(i=>i.items=i.items.filter(s=>s.condition())),this.sections=n}getComponentTitle(){return"gbPrivilegeAccessManagement"}createSectionsTemplate(){this.sectionsTemplate=[{label:this.translateService.translate("lblGeneral"),items:[{label:this.translateService.translate("lblProviders"),icon:"dvl-icon-access-provider",link:"providers",condition:()=>this.isPamManager},{label:this.translateService.translate("lblScanConfigurations"),icon:"dvl-icon-scan-network",link:"scan-configurations",condition:()=>this.isPamManager},{label:this.translateService.translate("lblPAMVaults"),icon:"dvl-icon-pam-vault",link:"pam-vaults",condition:()=>this.isPamManager},{label:this.translateService.translate("lblCheckouts"),icon:"dvl-icon-check-out",link:"checkout-manager",condition:()=>!0},{label:this.translateService.translate("butPamQuickStart"),icon:"dvl-icon-quick-start",link:"quickstart",condition:()=>this.isPamManager},{label:this.translateService.translate("mnuPamPropagationScripts"),icon:"dvl-icon-pam-password-propagation",link:"propagation-script",condition:()=>this.isPamManager}]},{label:this.translateService.translate("lblSecurity"),items:[{label:this.translateService.translate("lblCheckoutPolicies"),icon:"dvl-icon-template-bold",link:"checkout-policies",condition:()=>this.isPamManager},{label:this.translateService.translate("gbOTPSettings"),icon:"dvl-icon-entry-otp",link:"otp",condition:()=>this.isPamManager},{label:this.translateService.translate("gbDefaultSecurity"),icon:"dvl-icon-security",link:"../data-source-settings/pam-vault-management",condition:()=>this.isPamManager},{label:this.translateService.translate("gbDefaultSettings"),icon:"dvl-icon-management-tool",link:"settings",condition:()=>this.isPamManager},{label:this.translateService.translate("ReportType_Permission"),link:"/administration/data-source-permissions",queryParams:{section:"pam"},icon:"di dvl-icon-data-source-permissions",condition:()=>this.currentUserService.isAdministrator},{label:this.translateService.translate("gbUsagePolicies"),icon:"di dvl-icon-security-policy",link:"usage-policies",condition:()=>this.isPamManager}]}]}static{this.\u0275fac=function(i){return new(i||t)(e.rXU(h.C))}}static{this.\u0275cmp=e.VBU({type:t,selectors:[["ng-component"]],features:[e.Vt3],decls:2,vars:2,consts:[[3,"titlePage"],[3,"sections"]],template:function(i,s){1&i&&(e.j41(0,"dvl-page-wrapper-v2",0),e.nrm(1,"dvl-menu-dashboard",1),e.k0s()),2&i&&(e.Y8G("titlePage",s.titleHeader),e.R7$(),e.Y8G("sections",s.sections))},dependencies:[g.H,c.c],encapsulation:2})}}return t})()},{path:"providers",redirectTo:"/pam/providers"},{path:"scan-configurations",redirectTo:"/pam/scan-configurations/scan-list"},{path:"scan-configurations/scan-list",redirectTo:"/pam/scan-configurations/scan-list"},{path:"checkout-manager",redirectTo:"/pam/checkout-manager/checkout-list"},{path:"checkout-manager/checkout-list",redirectTo:"/pam/checkout-manager/checkout-list"},{path:"checkout-policies",redirectTo:"/pam/checkout-policies"},{path:"otp",redirectTo:"/pam/otp"},{path:"permissions",redirectTo:"/pam/permissions"},{path:"settings",redirectTo:"/pam/settings"},{path:"pam-vaults",redirectTo:"/pam/pam-vaults"},{path:"quickstart",redirectTo:"/pam/quickstart"},{path:"usage-policies",redirectTo:"/pam/usage-policies"},{path:"propagation-script",redirectTo:"/pam/propagation-script"}]}];let P=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=e.$C({type:t})}static{this.\u0275inj=e.G2t({imports:[o.iI.forChild(f),o.iI]})}}return t})(),b=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=e.$C({type:t})}static{this.\u0275inj=e.G2t({imports:[l.G,P,c.c]})}}return t})()}}]);