{{define "portal.html"}} {{.Title}} · TAPM {{template "topbar" .}}
{{if .NewCode}}

Deployment authorization created

{{.NewCode}}

Share this code only with the technician performing the deployment.

{{end}} {{if .Notice}}
{{.Notice}}
{{end}}

Controlled package delivery

Open a deployment window.

Authorize a limited number of hosts for selected packages and installer actions. Access closes automatically at the end of the window.

Default policy {{.DefaultHostLimit}} hosts {{.DefaultDuration}} hours

New authorization

Create deployment code

Allowed packages {{range .Packages}} {{if .Enabled}} {{end}} {{else}}

No packages have been enabled yet.

{{end}}
Allowed installer actions {{range .Actions}} {{if .Enabled}} {{end}} {{else}}

No installer actions have been enabled.

{{end}}

Recent activity

Deployment authorizations

{{range .Authorizations}}
{{if .CustomerLabel}}{{.CustomerLabel}}{{else}}Unlabeled deployment{{end}} {{if isActive .}}Active{{else}}Closed{{end}}
•••••{{.CodeHint}}
Hosts
{{.HostCount}} / {{.HostLimit}}
Expires
{{formatTime .ExpiresAt}}
Packages
{{if .Packages}}{{.Packages}}{{else}}None{{end}}
Actions
{{if .Actions}}{{.Actions}}{{else}}None{{end}}
Created by
{{.CreatedBy}}
{{if isActive .}}
{{end}}
{{else}}

No deployment authorizations have been created.

{{end}}

Audit preview

Latest 15 security events

Review full audit trail
{{template "audit-rows" .}}
{{end}}