almmechanics / azskutils Goto Github PK
View Code? Open in Web Editor NEWAzsk supporting utilities
License: MIT License
Azsk supporting utilities
License: MIT License
Describe the bug
The interface changes for Pester 5 have broken the usage of AzSKUtils, as the parameters are now obsolete
To Reproduce
Steps to reproduce the behavior:
NOTE: Steps 1 & 2 are also replicated by using a newer build agent from Azure DevOps, as Pester 5 is now pre-installed on them.
Expected behavior
Update AzSk to make use of Pester5 style and interface.
Describe the bug
Using the task azsk-nunit-task@1 outputs a warning in the build logs.
To Reproduce
Added the following step to a yaml build pipeline:
Build logs output:
##[warning]Task 'azsk-nunit-task' (1.0.0) is using deprecated task execution handler. The task should use the supported task-lib: https://aka.ms/tasklib
Expected behavior
No warnings when using the task.
NUnit conversion for ARM analysis seems to work fine.
But for SVT analysis I'm getting an error as an NUnit test fail for every control in the SVT analysis even if the control passes...or am I doing something wrong?
RuntimeException: The variable '$ResourceName' cannot be retrieved because it has not been set.
Is your feature request related to a problem? Please describe.
When adding the build/release variable TreatAsPassed: 'Verify,Manual' the NUNit test result should reflect this in the expected output.
Describe the solution you'd like
When the the variable TreatAsPassed is defined, then the values (comma-seperated) list, is treated as expected values in the test result, so the test does not show as being failed since they by default expected Passed as the outcome of a test.
Additional context
TreatAsPassed is described in details in this article: https://azsk.azurewebsites.net/03-Security-In-CICD/Readme.html#azsk-arm-template-checker (search for TreatAsPassed on page)
Describe the bug
is not filled out in SVT test case. A substitution is missing.
To Reproduce
Just run a testrun. You will see lines like this in the Test results list of the test run:
azsk-svt. '[Medium AppService] 'Always On' should be configured for App Service' with in resource group XYZ
Expected behavior
azsk-svt. '[Medium AppService] 'Always On' should be configured for App Service' with myappservice in resource group XYZ
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.