Skip to content

Commit

Permalink
Merge pull request #197 from suraj-metron/update-wiz-workflow
Browse files Browse the repository at this point in the history
Updated Request Header for API call #196
  • Loading branch information
ChrisCollinsIBM authored Aug 25, 2023
2 parents f7af01c + 56d8701 commit 2244818
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Community Developed/Wiz/Wiz-Workflow.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
<QueryParameter name="query" value="${/gql_query}" />
<QueryParameter name="variables" value="${/gql_query_variables}" />
<RequestHeader name="Authorization" value="Bearer ${/access_token}" />
<RequestHeader name="content-type" value="application/json" />
</CallEndpoint>

<Log type="INFO" message="WIZ: First API call status code:: ${/get_events/status_code}" />
Expand Down Expand Up @@ -177,6 +178,7 @@
<QueryParameter name="query" value="${/gql_query}" />
<QueryParameter name="variables" value="${/gql_query_variables}" />
<RequestHeader name="Authorization" value="Bearer ${/access_token}" />
<RequestHeader name="content-type" value="application/json" />
</CallEndpoint>

<Log type="INFO" message="WIZ: Paginated API call status code: ${/get_events/status_code}" />
Expand Down

0 comments on commit 2244818

Please sign in to comment.