"outcomes" in Vectr API when I try to extract the data always comes back as null (Vectr version prior to 9.0) #288
Unanswered
ApeironDragon
asked this question in
Q&A
Replies: 1 comment
-
I would reference the 9.0 API changes page here, outcomes was deprecated and outcomePath is it's replacement. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the topic
I am trying to use Vectr's GraphQL API to extract the data about the campaigns and all of their related test cases. I am using this request:
curl -H "Authorization: VEC1 KeyID:SecretKey" -H "Content-Type: application/json" -d '{"operationName":"CampaignsByIds", "variables":{"ids":["b5d711eb-2edd-4f03-9a24-25eb5ba66dc6"]}, "query":"query CampaignsByIds($ids: [String]!) { campaignsByIds(db: "FS_THREAT_INDEX", ids: $ids) { nodes { id name testCases { id name mitreId outcomes createTime updateTime status } } } }"}' -X POST https://vectr.internal:8081/sra-purpletools-rest/graphql -k
everything comes back good as you will see in the screenshot below except for the "outcomes" always comes back as null, any idea how I can fix that please?
Screenshots
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions