Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github IAM - IAM test playbook #10728

Merged
merged 7 commits into from
Jan 5, 2021
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
19 changes: 9 additions & 10 deletions Packs/GitHub/TestPlaybooks/IAM_-_Test_Playbook_Github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ tasks:
scriptarguments:
user-profile:
complex:
root: inputs.githubuserprofile
root: inputs.userprofile
transformers:
- operator: ParseJSON
separatecontext: false
Expand Down Expand Up @@ -85,7 +85,7 @@ tasks:
default_attribute: {}
user-profile:
complex:
root: inputs.githubuserprofile
root: inputs.userprofile
transformers:
- operator: ParseJSON
separatecontext: false
Expand Down Expand Up @@ -121,7 +121,7 @@ tasks:
scriptarguments:
user-profile:
complex:
root: inputs.githubuserprofile
root: inputs.userprofile
transformers:
- operator: ParseJSON
separatecontext: false
Expand Down Expand Up @@ -156,7 +156,7 @@ tasks:
scriptarguments:
user-profile:
complex:
root: inputs.githubuserprofile
root: inputs.userprofile
transformers:
- operator: ParseJSON
separatecontext: false
Expand Down Expand Up @@ -194,7 +194,7 @@ tasks:
simple: "true"
user-profile:
complex:
root: inputs.githubuserprofile
root: inputs.userprofile
transformers:
- operator: ParseJSON
separatecontext: false
Expand Down Expand Up @@ -472,15 +472,14 @@ view: |-
}
}
inputs:
- key: githubuserprofile
- key: userprofile
value:
simple: '{"emails": {"primary": true, "type": "work", "value": "TestID@paloaltonetworks.com"},
"name": {"familyName": "testlast", "givenName": "testgiven"}, "userName": "TestID@paloaltonetworks.com",
"email": "TestID@paloaltonetworks.com"}'
simple: '{"email": "TestID@paloaltonetworks.com", "username": "TestID@paloaltonetworks.com",
"givenname": "testgiven", "surname":"demisto", "locationregion": "Americas"}'
required: true
description: Test user profile data.
playbookInputQuery:
outputs: []
sourceplaybookid: 266bcc20-b5f3-4a64-8d93-af843bd24add
fromversion: 6.0.0
fromversion: 6.1.0
description: 'Test user profile data using github user info, due to the fact that the relevant classifiers are in SCIM pack.'
2 changes: 1 addition & 1 deletion Packs/GitHub/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"useCases": [],
"keywords": [],
"dependencies": {
"IAM-Scim": {
"IAM-SCIM": {
"mandatory": true,
"display_name": "IAM Scim"
}
Expand Down
3 changes: 2 additions & 1 deletion Tests/conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -2540,7 +2540,7 @@
{
"integrations": "GitHub IAM",
"playbookID": "Github IAM - Test Playbook",
"fromversion": "6.0.0"
"fromversion": "6.1.0"
},
{
"integrations": "LogRhythmRest",
Expand Down Expand Up @@ -3209,6 +3209,7 @@
],
"skipped_tests": {
"urlscan_malicious_Test": "Issue 20111",
"Github IAM - Test Playbook": "Issue 32383",
"Workday - Test": "No credentials Issue 29595",
"PCAP File Carving Test": "Merged with PCAP Analysis Test",
"PCAP Parsing And Indicator Enrichment Test": "Merged with PCAP Analysis Test",
Expand Down