Sdk Migration#38
Open
abhgoel15 wants to merge 2 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Features
BaseConnectorSDK to the newsplunk-soar-sdkarchitecture (App,Params,ActionOutputpattern)make requestaction — allows playbooks to execute arbitrary authenticated HTTP requests against the GitHub REST API (GET,POST,PATCH,DELETE) without requiring a dedicated action handlermake requestsupports JSON or rawkey=valuequery parameters, custom headers (merged over GitHub defaults), JSON request body, configurable timeout, and SSL verification togglemake requestnormalises endpoints automatically (prepends/if missing) and rejects full URLs (http:///https://) with a clear error messageBug Fixes
create issue— unicode strings passed as assignees or labels now correctly surface as action failures rather than causing unhandled GitHub API 422/403 errorsOther information
list issues,create issue,add labels,get issue,update issue,create comment,list comments,add/remove collaborator,add/remove member,list teams/repos/organizations/events/users,test connectivity) are functionally equivalent to the legacy connector