GithubHelp home page GithubHelp logo

cloudyspells / psrazdo-workbooks Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 1.0 51 KB

Azure Monitor workbooks for Analyzing PSRule.Rules.AzureDevOps results

License: MIT License

Bicep 100.00%
azure azure-devops azure-monitor best-practices bicep psrule

psrazdo-workbooks's Issues

Feature: Workbook "Azure DevOps Resources by Rule" - ruleName field should be a drop-down multi-select field (like in Azure DevOps Rule Hits by Resource Workbook)

๐Ÿš€ Feature Request

Is your feature request related to a problem? Please describe.

The problem is more on user's usability, where the user has to know (and copy-paste) the whole rule string in the "ruleName" text box in order to list the resources affected by that rule.

image

This should be a prepopulated drop-down multi-select field like the "Resource Name" in the "Azure DevOps Rule Hits by Resource" Workbook.

Also, the Resource FQN Column which lists the selected resource's rule Outcome(s), should be a hyperlink taking the user to the Resource Rule details screen (like in the Azure DevOps Resource State Workbook)

image

There are two usability problems here:

  1. The user need to know the rule name, the specific rule FQN, copy it from somewhere and then paste it in the "ruleName" field
  2. The table gets populated with that rule's Resource FQN and Outcome, but then the user does not know what the next action should be. I guess the logical action should be for the Resource FQN which either pass or fails, to be a hyperlink that sends the user to that Resource's Rule details screen. This is just a suggestion for analysis and review based on my perspective

Describe the solution you'd like


Describe alternatives you've considered


Additional context

Bug: Bicep Deployment Fails because it finds a duplicate vault in western europe with name 'kv-psrule-azdo-prd-weu'

๐Ÿž Bug Report

Describe the bug

Probably this happens because the Vault name defined in the Bicep template is static and the location is hard coded to western europe, where this vault already exists. Maybe add a random suffix in the vault's name?

image


Is this a regression?


To Reproduce


Expected behaviour


Media prove


Your environment

  • OS:
  • PowerShell version:
  • PSRule version:
  • PSRule.Rules.AzureDevOps version:

Additional context

Bug: Query Error when multi-selecting Resources from the "Azure DevOps Rules Hits by Resource" Workbook

๐Ÿž Bug Report

Describe the bug

From the Resource Name drop-down multi-select field, if I select more than one resource to be displayed, then I get a query error. Error's Line and Position # differs based on the drop-down resource selection. The "All" and "single-select" checkbox options work.

image

image

image


Is this a regression?

This is the first time I am experiencing this since the initial deployment and initial run of the YAML Pipeline


To Reproduce


Media prove


Your environment

  • OS:
  • PowerShell version:
  • PSRule version:
  • PSRule.Rules.AzureDevOps version:

Additional context

Bug: West Europe location for deploying bicep Azure resource in the RG is hard coded

๐Ÿž Bug Report

Describe the bug

The Azure location 'West Europe' is hard-coded in the resource deployment of the bicep template. For example I have created my RG in 'eastus' and I need all my resources to be created in 'eastus'. However, the resources are created by default in 'west europe'. May have the $location as input variable in the 'az deployment group create' script for the main.bicep?


Is this a regression?


To Reproduce


Expected behaviour


Media prove


Your environment

  • OS:
  • PowerShell version:
  • PSRule version:
  • PSRule.Rules.AzureDevOps version:

Additional context

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.