Skip to content

Commit

Permalink
Merge pull request #27 from ssc-spc-ccoe-cei/mitigation_links_issue_19
Browse files Browse the repository at this point in the history
Updated to generic mitigation url
  • Loading branch information
dutt0 authored Dec 8, 2023
2 parents 2ccfb99 + 1a9ba07 commit 3db77dc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
3 changes: 2 additions & 1 deletion setup/IaC/guardrails.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion setup/IaC/modules/loganalyticsworkspace.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3db77dc

Please sign in to comment.