ssc-spc-ccoe-cei / azure-guardrails-solution-accelerator

This implementation automates reporting to verify compliance with GC Cloud Guardrails. SSC and TBS review the results. Cette mise en œuvre automatise la production de rapports afin de vérifier la conformité aux mesures de sécurité infonuagique du GC. SPC et SCT examinent les résultats.
Other
11 stars 5 forks source link

Multi-cloud Usage Bug: Missing Subscription Tags #267

Closed MathesonSho closed 4 days ago

MathesonSho commented 1 week ago

Describe the bug When installing the solution and enabling MUC and adding a multi-profile string in the config.json as a new CaC user the solution returned errors in the main runbook surrounding null arrays.

To Reproduce Steps to reproduce the behavior:

  1. Go to any environment with MUC
  2. Click on the subscription tags and remove them
  3. Rerun the solution
  4. You will see an error for every module expecting to see a profile tag from the subscription.

Reproduced by installing with multi-profile's 1,3,6 without any tags on the sub

Expected behavior Initial installation does not expect the department to already have profile tags in place as this is completed during remediation. The expected behaviour is to handle when there are no tags present for any of the subscriptions.

Software versions used: