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

Initialize-SIVulnTargetSql

Prepare a database as the vulnerability close-loop's target

Purpose

Applies the vulnerability target schema (vuln: VulnerabilityItem, VulnerabilityEvent) to a SQL database. Additive and idempotent.

When to run it

Not needed for the Pro database: every update applies these tables before it installs new code, and the install does it as well. Only for a separate SQL target database of the vulnerability close-loop, when Invardia support asks.

Who may run it

KindRoleScopeWhy
otherthe SI engine identity (service principal + certificate) with db_ddladminthe target databaseto create the schema objects

What it changes

WhereActionWhatPermission / roleScopeWhyUndo
SQL databasecreateschema vuln (VulnerabilityItem, VulnerabilityEvent)the target databasethe close-loop writes hereadditive only -- nothing is removed

What it only reads

  • the schema file

Parameters

ParameterRequiredDefaultWhat it does
-Serverno[string]$global:SI_VulnSync_SqlServer
-Databaseno[string]$global:SI_VulnSync_SqlDatabase
-AppIdno[string]$global:SI_SPN_AppId
-TenantIdno[string]$global:SI_SPN_TenantId
-CertThumbprintno[string]$global:SI_SPN_CertThumbprint

Preview with -WhatIf

Says what it would apply; the database is not opened.

Undo

Additive only: nothing to undo.

Network

It connects to: database.windows.net, invardia.com, login.microsoftonline.com

Download and run

Run these lines in PowerShell: the first downloads the script into the current folder, the second runs it.

Invoke-WebRequest https://invardia.com/support/si/Initialize-SIVulnTargetSql.ps1 -OutFile Initialize-SIVulnTargetSql.ps1
.\Initialize-SIVulnTargetSql.ps1

To check the download first, compare its SHA-256 with the published one:

SHA-256 82302f319c79e6897fd4a640119c294a2148bb5d458050ea971d7ab9edb0ec28

Checksums: SHA256SUMS.txt · Version 3.0.79

Before you run it, compare the file's SHA-256 with its line in SHA256SUMS.txt.

Every parameter: Get-Help .\Initialize-SIVulnTargetSql.ps1 -Full · Source: Initialize-SIVulnTargetSql.ps1

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