Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion other/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to the 'other' section of this repository will be documented
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

### 2025-10-03
- Added af-plans/FullScanCrApiAuth.yaml
- Added af-plans/FullScanCrApiAuth.yaml and more import job examples to af-plans/ApiScanExample.yaml
- Changed auth AF plans to use seconds instead of requests for pollUnits.

### 2025-09-30
Expand Down
41 changes: 41 additions & 0 deletions other/af-plans/ApiScanExample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,47 @@ jobs:
wsdlFile: # String: Local file path of the WSDL, default: null, no definition will be imported
wsdlUrl: # String: URL pointing to the WSDL, default: null, no definition will be imported

# Example usages:
- type: "postman"
parameters:
collectionFile: postman.json # The target is defined in the collection.

- type: "postman"
parameters:
collectionUrl: "https://api.example.com/postman.json" # The target is defined in the collection.

- type: "graphql"
parameters:
endpoint: "https://www.example.com/api/"
schemaFile: file.graphql

- type: "graphql"
parameters:
endpoint: "https://www.example.com/api/"
schemaUrl: "https://www.example.com/api/file.graphql" # If no schemaFile nor schemaUrl is provided, introspection is done on the endpoint.

- type: "openapi"
parameters:
apiFile: openapi.json # Assumes the definition has the target URL.

- type: "openapi"
parameters:
apiUrl: "https://api.example.com/openapi.json" # Imports from URL, if the definition does not have the target it will use the domain of the import URL.

- type: "openapi"
parameters:
apiFile: openapi.json
targetUrl: "https://api.example.com/" # The definition does not have the target, we provide it in the job instead.

- type: "soap"
parameters:
wsdlFile: file.wsdl # The WSDL needs to specify the target locations.

- type: "soap"
parameters:
wsdlUrl: "https://api.example.com/file.wsdl" # The WSDL needs to specify the target locations.


- parameters:
policyDefinition:
defaultStrength: "medium"
Expand Down