Add LinkedIn API test

patch-1
Dwi Siswanto 2021-10-23 21:13:04 +07:00
parent 0dd3b87aeb
commit 393034a494
1 changed files with 26 additions and 0 deletions

26
token-spray/linkedin.yaml Normal file
View File

@ -0,0 +1,26 @@
id: api-linkedin
info:
name: LinkedIn API Test
author: dwisiswant0
reference: https://docs.microsoft.com/en-us/linkedin/compliance/
severity: info
tags: token-spray,linkedin
self-contained: true
requests:
- method: GET
path:
- "https://api.linkedin.com/v2/me?oauth2_access_token={{token}}"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: body
negative: true
words:
- "serviceErrorCode"