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
| #Requires -Version 7 | |
| <# | |
| .SYNOPSIS | |
| Export historical Log Analytics data to Azure Blob Storage with Azure Monitor "Export job (preview)", | |
| one job per table, straight from Azure Cloud Shell (PowerShell). | |
| .DESCRIPTION | |
| There is no "clone workspace" button in Azure, but since 2026 there is an export job API that writes a | |
| table's records for a time range to Blob Storage as gzip Parquet, partitioned per hour. This script wraps | |
| that API so you can preserve a time window of a whole workspace (think legal hold, audit, forensics) with |
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
| #!/bin/bash | |
| # Rick Astley in your Terminal. | |
| # By Serene and Justine Tunney <3 | |
| version='1.2' | |
| rick='https://keroserene.net/lol' | |
| video="$rick/astley80.full.bz2" | |
| # TODO: I'll let someone with mac or windows machine send a pull request | |
| # to get gsm going again :) | |
| NEVER_GONNA='curl -s -L http://bit.ly/10hA8iC | bash' | |
| MAKE_YOU_CRY="$HOME/.bashrc" |
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
| param ( | |
| [string]$ResourceGroupName = "RG-SecurityCopilot", | |
| [string]$CapacityName = "scu-bitdefend-01", | |
| [string]$Location = "westeurope", | |
| [string]$Geo = "EU", # This is the prompt evaluation location. Choose either: EU, US, UK, ANZ | |
| [string]$ApiVersion = "2024-11-01-preview" | |
| ) | |
| function Deploy-SecurityCopilotSCUs { |
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
| Clear-Host | |
| $ShieldColor1 = 'DarkBlue' | |
| $ShieldColor2 = 'DarkCyan' | |
| $ShieldColor3 = 'Cyan' | |
| $TextColor = "Magenta" | |
| Write-Host '' | |
| Write-Host '' | |
| Write-Host ' ██ ' -ForegroundColor $ShieldColor1 |
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
| input { | |
| tcp { | |
| port => 514 | |
| type => syslog | |
| host => "141.93.182.143" | |
| tags => ["gso_sentinel"] | |
| } | |
| } | |
| input { | |
| udp { |
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
| <# | |
| .DESCRIPTION | |
| This script will generate ADX commands based on sample files to determine their schema. | |
| These sample files should be in a proper JSON format and contain a single object. | |
| .PARAMETER TemplateFolder <String> | |
| Location which contains the sample files | |
| #> |
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
| Parameter | isRequired? | Description | |
|---|---|---|---|
| secretAddDays | false | The number of days the new application secret will be valid. Default is for 31 days. | |
| tenantId | true | The Tenant ID of the Azure Active Directory in which the application resides. | |
| applicationId | true | The app id of the application on which the secret needs to be rotated. | |
| logstashConfigLocation | false | Path to logstash pipeline configuration file i.e. '/etc/logstash/conf.d/syslog-to-dcr-based-sentinel.conf'. | |
| logstashKeystoreKey | false | Name of the key in the keystore container the app secret referenced inside the Logstash configuration file. | |
| printOutput | false | Add -printOutput to for easier troubleshooting external Logstash-specific command like update keystore key and restarting service. |
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
| name: SentinelPricingTierAutoScale | |
| on: | |
| schedule: | |
| - cron: '0 1 8 * *' # At 08:00 on every 1st day of the month | |
| permissions: | |
| id-token: write | |
| contents: write | |
| pull-requests: write |
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
| # Automated Code Pull Request | |
| Before submitting this Pull Request, please make sure and check the list below. | |
| ## General | |
| * [x] Change purpose checkboxe(s) are updated | |
| * [x] Change has been described | |
| ## Purpose for change |
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
| { | |
| "properties": { | |
| "roleName": "Tag Reader", | |
| "description": "Lets you read tags on entities, without providing access to the entities themselves.", | |
| "permissions": [ | |
| { | |
| "actions": [ | |
| "Microsoft.Resources/tags/read", | |
| "Microsoft.Resources/subscriptions/tagNames/read" | |
| ], |
NewerOlder