🔘Pynt for Azure DevOps Pipelines
Integrate Pynt with Azure DevOps for automated API security testing. Enhance your CI/CD pipeline by adding Pynt’s robust security scans to your Azure DevOps workflows.
Last updated
trigger:
- main
pool:
name: test
steps:
- script: python3 -m pip install --upgrade pyntcli
displayName: 'Install pynt cli'
- script: curl https://raw.githubusercontent.com/pynt-io/pynt/main/goat_functional_tests/goat.postman_collection.json -o goat.json
displayName: 'Get goat collection'
- script: |
export PYNT_ID = $(PYNT_ID)
pynt newman --collection goat.json --reporters --severity-level critical
displayName: 'Run pynt with newman integration '- script: |
export PYNT_ID = $(PYNT_ID)
# Get the user base bin directory
BIN_PATH=$(python -m site --user-base)/bin
# Add it to the PATH
export PATH=$BIN_PATH:$PATH
# Verify that it's been added
echo "Updated PATH: $PATH"
pynt newman --collection goat.json --reporters --severity-level critical
displayName: 'Run pynt with newman integration ''all', 'medium', 'high', 'critical', 'none' (default)