Skip to content
InvardiaInvardia
Why InvardiaProductsFeaturesPricingCommunity
Docs
All documentation
Product documentationPIM ManagerSecurityInsight
SettingsPIM Manager settingsSecurityInsight settingsEntra Policy Suite settings
ScriptsPIM Manager scriptsSecurityInsight scriptsEntra Policy Suite scriptsInvardia scripts
Error codesPIM Manager error codesSecurityInsight error codes
API and MCPPIM Manager APIPIM Manager MCP toolsSecurityInsight APISecurityInsight MCP tools
SecurityPIM Manager security packSecurityInsight security packEntra Policy Suite security pack
Network and designPIM Manager network guidesPIM Manager command wizardNetwork egressDesign your installationCalculate your cost
SupportSetup scriptsRemote support access
Search the docs
SupportAboutContactBook a demoCustomer portalDesign your installationFree Pro trial

SecurityInsight scripts

Publish-SITemplates

Publish configuration templates into the Pro database

Part of the SecurityInsight release - not a standalone download; it runs via the product's own install command or the updater.

Purpose

Publishes configuration templates (Risk Analysis reports, risk index, rules, asset tagging, service model) into the Pro settings database: the release's own, a template pack, a staged pack or a roll back -- customer overrides untouched.

When to run it

By every setup and update path (-InstallDefault); by hand to publish a template pack or roll one back.

Who may run it

KindRoleScopeWhy
sqlthe install's identity (db_datawriter; db_ddladmin with -CreateSchema)the Pro databaseto write the templates and, with -CreateSchema, the tables

What it changes

WhereActionWhatPermission / roleScopeWhyUndo
Azure SQL (Pro)updatethe templates in force, the template release record, the fingerprint and the audit trailthe Pro engines read the templatesroll back to the previous template pack (-RollbackToVersion, or in the web app)
Azure SQL (Pro)createthe cfg schema (only with -CreateSchema / -InstallDefault)the tables templates live indrop the database (a new install)
Azure SQL (Pro)createa staged template pack for the web app (only with -Stage)the web app offers it for reviewremove the staged pack in the web app

What it only reads

  • the shipped templates or the pack file
  • the templates and overrides in the Pro database

Parameters

ParameterRequiredDefaultWhat it does
-InstallPathno
-Applyno
-CreateSchemano
-InstallDefaultnoWhat every setup / update path runs (#250): -Apply -CreateSchema of the shipped templates -- the schema, the #251 carry-over, and the default templates installed (or adopted) as template pack 1.0.
-AcceptTemplateChangenoThe templates in force may change (the plan listed what changes). Without it a moved fingerprint writes nothing.
-AcceptFingerprintnoAccept only this fingerprint (at least its first 12 characters) -- what the plan printed.
-Serverno[string]$global:SI_ProSqlServer
-Databaseno[string]$global:SI_ProSqlDatabase
-AppIdno[string]$global:SI_SPN_AppId
-TenantIdno[string]$global:SI_SPN_TenantId
-CertThumbprintno[string]$global:SI_SPN_CertThumbprint
-FamiliesnoPublish only these kinds (default: all). Retiring is limited to the same kinds.
-VersionnoThe version to stamp (default: the shipped template pack's version, engine\pro-settings\shipped-template-pack.json).
-PackPathnoA template pack file (si-templates-<packVersion>.json); its .sha256 beside it is checked when present.
-PackSha256noThe pack's SHA-256 (overrides the .sha256 file).
-FromStagednoA pack staged in cfg.TemplatePackStaged, by version.
-RollbackToVersionnoRepublish the items as they were at this pack / release version (cfg.TemplateRevision).
-MethodnoOnly these detection methods ('<method>' or '<engine>/<method>'; '*' = all).
-StagenoPut the pack (or the shipped templates) in cfg.TemplatePackStaged for the web app.
-StageOriginno
-StageRingno
-StageManifestB64noA pack from Invardia: the SIGNED manifest it came with (manifestB64, signature, keyId), kept with the staged pack -- -FromStaged verifies it again against the keys embedded in this release before anything is installed.
-StageSignatureno
-StageKeyIdno
-StrictJobnoA job run: a publish that is blocked FAILS (the web app shows the job as failed) instead of ending as a plan.
-RequestedBynoWho accepted this release in the web app (recorded in the release's reason; the actor stays the session).
-StorenoThe database, already open (New-SIProSettingsStore -Invoke ...): the container updater's token, or a test's fake.
-PassThrunoReturn the outcome as an object (the updater reads it).
-InstallCurrentno#405: RING 1 (internal) -- every template shipped with this code installed DIRECTLY: no pack number, no gate, no pack recorded as a release (the r1 deploy passes it; setup\Invoke-SIContainerUpdate.ps1 -InstallTemplatesDirect).
-Classno#405: with -RollbackToVersion, only the items of these classes (the one-click roll back of Microsoft content).
-ClassificationReviewedno$nullTest seam: $true / $false instead of the shipped pack's ClassificationReviewed flag ($null = the flag decides).

Preview with -WhatIf

Prints the plan (what would be inserted, updated, retired); nothing is written -- also with -InstallDefault, -InstallCurrent or -Stage.

Undo

Roll back to the previous template pack.

Network

It connects to: *.blob.core.windows.net, *.queue.core.windows.net, *.table.core.windows.net, *.vault.azure.net, 169.254.169.254, api.loganalytics.io, api.msrc.microsoft.com, api.security.microsoft.com, api.securitycenter.microsoft.com, api.securityplatform.microsoft.com, database.windows.net, entra.microsoft.com, graph.microsoft.com, invardia.com, licenses.nuget.org, login.microsoftonline.com, management.azure.com, monitor.azure.com, nvd.nist.gov, outlook.office.com, outlook.office365.com, portal.invardia.com, storage.azure.com, vault.azure.net

How it runs

Part of the SecurityInsight release - not a standalone download; it runs via the product's own install command or the updater.

Release 3.0.79

Every script, identity and permission for your security review: SecurityInsight

InvardiaInvardia

See the risk. Control the access.

Products

PIM ManagerSecurityInsightEntra Policy SuiteAll featuresPricingFree 60-day Pro trialBook a demoWhy Invardia

Docs

DocumentationSearch the docsPIM Manager settingsSecurityInsight settingsPIM network guidesCommand wizardNetwork egressPIM Manager design configuratorSecurityInsight design configuratorDesign your installationCalculate your cost

Company

AboutContactCustomer portalSupportHow support worksHow updates reach youSupport in numbersSetup scriptsRemote support accessContact: info@invardia.com

Legal

Terms of saleLicence termsData processingPrivacyCookiesCompany information
© 2026 Invardia – a brand of 2LINKIT, founded and owned by Morten Knudsen · Strandvejen 21A, 6000 Kolding, Denmark · VAT DK39208032 · Contact: info@invardia.com