diff --git a/docs/debugging.md b/docs/debugging.md index 9b175491..3d7cc435 100644 --- a/docs/debugging.md +++ b/docs/debugging.md @@ -14,7 +14,7 @@ Running the Guardrails modules in Azure Automation account make them difficult t > **NOTE**: Local debugging will use the configuration variable values exported during the last solution deployment or update operation. If you have updated values in the Automation Account Variables directly, you may need to manually update the exported config secret value to reflect the same change. -1. Clone the deployed version of the solution on your local system, either using `git clone` and `git checkout v1.10.0` (for example) or downloading the appropriate release from the [GuardrailsSolutionAccelerator Releases](https://github.com/Azure/GuardrailsSolutionAccelerator/releases) page (downloading the source.zip file) +1. Clone the deployed version of the solution on your local system, either using `git clone` and `git checkout v1.10.0` (for example) or downloading the appropriate release from the [GuardrailsSolutionAccelerator Releases](https://github.com/ssc-spc-ccoe-cei/azure-guardrails-solution-accelerator/releases) page (downloading the Azure CAC Solution.zip file) 1. Open the solution directory in Visual Studio Code 1. Navigate to the module to be debugged in the `./src` directory and place a breakpoint at an appropriate location 1. In the Powershell Extension's Integrated Terminal, login to the target Azure Subscription (if you are not already signed in): `Connect-AzAccount -Scope Process` diff --git a/setup/IaC/guardrails.bicep b/setup/IaC/guardrails.bicep index fb538ef0..723dea96 100644 --- a/setup/IaC/guardrails.bicep +++ b/setup/IaC/guardrails.bicep @@ -37,7 +37,8 @@ param breakglassAccount1 string = '' param breakglassAccount2 string = '' var containername = 'guardrailsstorage' -var GRDocsBaseUrl='https://github.com/ssc-spc-ccoe-cei/azure-guardrails-solution-accelerator/docs/' +//var GRDocsBaseUrl='https://github.com/ssc-spc-ccoe-cei/azure-guardrails-solution-accelerator/docs/' +var GRDocsBaseUrl='https://github.com/ssc-spc-ccoe-cei/azure-guardrails-solution-accelerator/tree/main/docs' var vaultUri = 'https://${kvName}.vault.azure.net/' var rg=resourceGroup().name diff --git a/setup/IaC/modules/loganalyticsworkspace.bicep b/setup/IaC/modules/loganalyticsworkspace.bicep index b695d907..045d204b 100644 --- a/setup/IaC/modules/loganalyticsworkspace.bicep +++ b/setup/IaC/modules/loganalyticsworkspace.bicep @@ -47,7 +47,8 @@ resource f1 'Microsoft.OperationalInsights/workspaces/savedSearches@2020-08-01' properties: { category: 'gr_functions' displayName: 'gr_geturl' - query: 'let baseurl="${GRDocsBaseUrl}";\nlet Link=strcat(baseurl,control,"-", replace_string(replace_string(itsgcode,"(","-"),")",""),".md");\nLink\n' + //query: 'let baseurl="${GRDocsBaseUrl}";\nlet Link=strcat(baseurl,control,"-", replace_string(replace_string(itsgcode,"(","-"),")",""),".md");\nLink\n' + query: 'let baseurl="${GRDocsBaseUrl}";\nlet Link=baseurl;\nLink\n' functionAlias: 'gr_geturl' functionParameters: 'control:string, itsgcode:string' version: 2