| Task | API Endpoint | Script Example | Section |
|---|---|---|---|
| User Staging | /api/v2/user/status |
stage_users.py |
3.1 |
| Tag Migration | /api/v2/tag |
migrate_tags.py |
2.4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This script automates the creation of Immuta Groups from CSV or Excel files | |
| // To use: | |
| // 1. Navigate to the Immuta Groups page (People > Groups) | |
| // 2. Open browser's developer console (F12 or right-click > Inspect > Console) | |
| // 3. Paste this entire script and press Enter | |
| // 4. Follow the on-screen prompts to select your CSV or Excel file | |
| // Global variables | |
| let isOfflineMode = false; |
This tool helps you extract all tag hierarchies from an Immuta Governance interface. It identifies and organizes tags into their hierarchical structure and exports them to a CSV file for easy analysis.
This toolkit contains two main JavaScript files:
expand-all-sections.js: Expands all collapsible sections in the Immuta interfaceimmuta-tag-hierarchy-extractor.js: Extracts all tags with their complete hierarchies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Function to expand all collapsed sections | |
| function expandAllSections() { | |
| // Find all chevron-down icons | |
| const chevronDownIcons = document.querySelectorAll('i.pxl-icon-chevron-down'); | |
| console.log(`Found ${chevronDownIcons.length} collapsed sections to expand`); | |
| // Track how many were successfully expanded | |
| let expandedCount = 0; | |
| // Click each icon to expand its section |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // immuta-tag-hierarchy-extractor.js | |
| // Version 8.0 - Multi-format tag hierarchy extractor with CSV and JSON outputs | |
| // For use with Immuta Governance interface | |
| (function extractImmutaTagHierarchy() { | |
| console.log("Starting Immuta Tag Hierarchy extraction..."); | |
| // Find the governance section | |
| const governanceSection = document.querySelector('[class*="governance"], .governance, div.governance'); | |
| if (!governanceSection) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [CmdletBinding()] | |
| param( | |
| [Parameter(Mandatory = $false)] | |
| [ValidateSet("Dev", "Prod")] | |
| [string]$Env = "Prod", | |
| [Parameter(Mandatory = $false)] | |
| [string]$DnsServer = "ServerName1", | |
| [Parameter(Mandatory = $false)] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Save this script as Test-gMSAConfiguration.ps1 | |
| param( | |
| [Parameter(Mandatory = $true)] | |
| [string]$gMSAName, | |
| [Parameter(Mandatory = $false)] | |
| [string]$ServiceName = "", | |
| [Parameter(Mandatory = $false)] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # gMSA Service AutoFix Solution | |
| # This script creates a reliable startup fix for services using gMSA accounts | |
| # Save as Fix-gMSAService.ps1 | |
| param( | |
| [Parameter(Mandatory = $true)] | |
| [string]$ServiceName, | |
| [Parameter(Mandatory = $false)] | |
| [int]$StartupDelaySeconds = 120, |