REST API Static Security TestingThis Azure DevOps extension allows you to add automated static application security testing (SAST) tasks automatically performed on API contract files during the CI/CD pipeline runs. API contracts must follow the OpenAPI Specification (OAS, formely known as Swagger). Both OAS v2 and v3, and both JSON and YAML formats are supported. The extension is powered by 42Crunch API Security Audit. Security Audit is a static analysis of the API definition that includes more than 200 checks on best practices and potential vulnerabilities in the way the API defines authentication, authorization, transport, data coming in and going out. See the API Security Encyclopedia for details. You can create a free 42Crunch account at https://platform.42crunch.com/register and then follow the quick start guide to configure the extension. This extension requires Node v16 or later. Quick start
See the documentation for details. Discover APIsBy default, the task locates all OpenAPI files in your project and submits them for static security testing. You can include or exclude specific paths from the discovery phase can omit the discovery phase completely by adding a task configuration file All discovered APIs are uploaded to an API collection in 42Crunch Platform, named after the repository and branch/tag/PR where the APIs came from. This collection is created at the
first run of the task, and is tied to the repository name and branch/tag/PR name it was created from: the task uses the build variables Fine-tune the build taskYou can add a task configuration file For more details, see the documentation. SupportThe extension is maintained by support@42crunch.com. If you run into an issue, or have a question not answered here, you can create a support ticket at support.42crunch.com. If you’re reporting an issue, do include:
|