azuredevops | Dependency Check Azure DevOps Extension | DevOps library
kandi X-RAY | azuredevops Summary
kandi X-RAY | azuredevops Summary
Repository for the Azure DevOps extension wrapper around the OWASP Dependency Check CLI.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of azuredevops
azuredevops Key Features
azuredevops Examples and Code Snippets
Community Discussions
Trending Discussions on azuredevops
QUESTION
I write test cases in Visual Studio - Specflow feature file. Post that, I use "AzureDevops Test Connector" to migrate test cases into Azure Devops - Test Plan -> Test Suite(Which are already created in Azure Devops by me).
My requirement is to update, "Area Path" and "Iteration" for the newly created test cases.
I am able to update "Area Path" and "Iteration" for Test Plan and Test suite using Azure Devops Services Rest APIs. But, there is no provision to update these values in Test Case. Any lead will be much appreciated. Below is what i tried. Thanks in advance!
.
PATCH CALL TO UPDATE AREA PATH AND ITERATION PATH - BUT IT IS NOT WORKING | SCREENSHOT FROM POSTMAN
...ANSWER
Answered 2022-Apr-02 at 14:40I was able to achieve this by using "work item" instead of "Test Case". Using this, I am able to update all the field values.
Postman - add Content-Type = application/json-patch+json | under headers separately. Keep body as "raw" and "JSON" in drop down.
QUESTION
To create a workitem I need to specify its fields but where exactly can I see all the possible "field paths" on my AzureDevOps site? I've edited an existing workitem and added some more fields to it but I cant seem to find the needed "field path" for my JsonPatchOperation.
Any ideas? Thanks in advance!
...ANSWER
Answered 2022-Mar-24 at 08:56You can use the process template editor to see all fields in your org.
- Check needed fields:
QUESTION
I have two repositories.
- The first is built by AzureDevOps Pipelines into a whl file and published on a Azure DevOps Artifact feed. (works)
- The second should also be built by AzureDevOps Pipelines and published on Azure DevOps artifacts -> but it is dependend on the first one and needs to install it from the AzureDevops Artifact feed during the build-process. (this does not work).
I can install it locally, but the pipeline of the second package fails. When the pipeline fails, I get the following error:
...ANSWER
Answered 2022-Feb-28 at 13:04Turns out, I just needed to configure poetry in the pipeline before the install for the second repository - same as I did locally, some long time ago (and forgot about it).
QUESTION
I have a problem with deploying the project to Azure DevOps because of the ExternalData. On my local machine, VS can build the project and tests work fine.
But, when I try to build the project with the command 'dotnet build' as it does on AzureDevops, it fails.
Error that I get:
Generation error: Message: Unable to load Excel file from pathToProject\Features\Something.xlsx': Could not load file or assembly 'ExcelDataReader, Version=3.6.0.0, Culture=neutral, PublicKeyToken=93517dbe6a4012fa'. The system cannot find the file specified.
The same happens with CSV file, only it says CSVHelper instead of ExcelDataReader. I tried to install ExcelDataReader and nothing changed. I tried to manually copy ExcelDataReader.dll to my bin folder and then add it's dependency and still nothing changed.
Can someone please help? This is a vital part of our tests, to be able to use Excel or CSV files for test data.
EDIT:
Steps to reproduce:
There is a feature file that has a data source tag for the excel file:
...ANSWER
Answered 2022-Feb-17 at 10:30This is fixed on SpecFlow side in the new version 3.9.52.
QUESTION
As part of automating alert creation in Loganalytic workspace,We are using AzureDevops Server and looking for a way to run az deployment group
command in Azuredevops pipeline. We have a working pipeline to execute the ADO tasks in Subscription-A like AzureCLI
and AzureResourceGroupDeployment
using the predefined serviceconnection
configured with the service principal{SP-A} which is having required access on Subscripion A and it is working as expected.
Now we got the requirement to execute same pipeline to Subscription B, where the current used servicePrincipal SP-A does not have subscription level access. So we are blocked with the further steps as we are only allowed to get the specific access (like create or modify alert rule in LAW- Microsoft.Insights/ScheduledQueryRules/[Read, Write, Delete] ) for the SP-A to create the alert rules in Loganalyticworkspace of subscription B.
So we are looking for guidance on below things.
Is it possible to configure a service connection to Subscription B using the same SP-A that only has the Microsoft.Insights/ScheduledQueryRules/[Read, Write, Delete] permission on the LAW, and not having any access to subscription B or resource group of LAW-B
If the above method will not work, is there any way to run
az group deploy
commands with service Pricipal credentails by adding in to the command as paramaters.
The working ADO tasks for subs A is as follows and looking for a solution if we can use same for Sub B
...ANSWER
Answered 2022-Feb-14 at 07:21Is it possible to configure a service connection to Subscription B using the same SP-A that only has the Microsoft.Insights/ScheduledQueryRules/[Read, Write, Delete] permission on the LAW, and not having any access to subscription B or resource group of LAW-B
It will be not possible as you will be creating custom role
with only Microsoft.Insights/ScheduledQueryRules/*
which is required for managing/creating Scheduled Query Alerts but for the service account to find the LAW and Deploy the Alerts using the resource group deployment will at least require read
permission on subscription or resource group and Microsoft/Resources/deployments/*
to create deployments.
You can check these built-in roles
for Azure Monitor.
QUESTION
I was trying to setup Azure virtual machine scaleset as build agetent for on AzureDevops server. Just to confirm whether the AzureDevops server will support VMSS? What permission is required to create the vmss based build agent and is there any automation for the same?
...ANSWER
Answered 2022-Feb-06 at 13:45Azure DevOps Server doesn't support Azure VM ScaleSets natively for pipelines agents. That is a Azure DevOps Service feature.
QUESTION
I try to migrate a process from one azure devops org to another with the Azure DevOps Migration Tool.
In the answer for this question it is said if you run this command migration.exe init --options Full
you get the complete configuration options that are available. But in the created configuraition file I can't find a processor for the process migration.
In your GitHub documentation there are hints that it should be possible, so I am a little confused.
Are they diffrent versions on GitHub and Chocolatey?
If I compare the version number and the release date (on the sites) then it seems they have the same version.
In the code from GitHub I found the ProcessDefinitionProcessor and tryed to find the correct configuration. At the end i got this error:
...ANSWER
Answered 2022-Feb-01 at 22:22The Azure DevOps Migration tools does not migrate the Process, just the Work Items.
You can use the Microsoft project process-migrator
to migrate the process.
QUESTION
ANSWER
Answered 2022-Jan-25 at 19:48Turns out the correct place to disable PublishReadyToRun
is in the:
QUESTION
There's a VPC Basic cloudformation template available on AWS. Here's the link to the code: https://s3.us-west-2.amazonaws.com/cloudformation-templates-us-west-2/VPC_Single_Instance_In_Subnet.template
When I create it using CloudFormation, it fails unless I specify a keypair using the GUI. When I specify the keypair, it works.
Issue is, I am trying to run this cloudformation template from AzureDevOps using the integration toolkit by AWS.
At the moment, the way I do this is, I'm just passing a link to a template file. The template file contains the template in JSON, but I'm not sure if:
a) I'm supposed to insert the keypair name in the template file linked above
OR
b) some other way?
I'm using the AWS toolkit for Azure DevOps
This is my code:
...ANSWER
Answered 2022-Jan-12 at 03:52You can set a default value if you have pre-defined key that you want to use:
QUESTION
I am currently using an AzureDevOps project based on Git. I don't know much about git and find the system anything but easy to understand. Unfortunately, I accidentally uploaded a file that contains sensitive information. I would now like to delete the file. Unfortunately, there doesn't seem to be a consistent and clearly understandable set of instructions. I have already tried a few things, but so far without success. In the meantime, I already have two commits that contain the file. The second is a patch, whatever that does. Currently, the file is only included in a feature branch, but in several commits there. I work on a windows computer, if it relevant.
I have found this command several times, but I get the following message
...ANSWER
Answered 2022-Jan-05 at 12:36yes, it is possible. For example you can use BFG-Repo Cleaner, which can be found here: https://rtyley.github.io/bfg-repo-cleaner/ (to get the tool please follow the instructions from official page)
This tool can help you with a lot of "Git-Problems" for example to delete files and other sensitive data.
To delete sensitive data and leave latest commit untouched:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install azuredevops
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page