-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from ambitus/bug/filter_out_tso_messages_on_su…
…ccess Bug/filter out tso messages on success
- Loading branch information
Showing
7 changed files
with
154 additions
and
34 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
56 changes: 56 additions & 0 deletions
56
tests/user/user_result_samples/extract_user_result_extra_messages_success.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"securityResult": { | ||
"user": { | ||
"name": "SQUIDWRD", | ||
"operation": "listdata", | ||
"requestId": "UserRequest", | ||
"commands": [ | ||
{ | ||
"safReturnCode": 0, | ||
"returnCode": 0, | ||
"reasonCode": 0, | ||
"image": "LISTUSER SQUIDWRD OMVS TSO OVM ", | ||
"profiles": [ | ||
{ | ||
"base": { | ||
"user": "squidwrd", | ||
"name": "squidward", | ||
"owner": "leonard", | ||
"created": "4/4/2023", | ||
"defaultGroup": "sys1", | ||
"passwordDate": null, | ||
"passwordInterval": 186, | ||
"passphraseDate": null, | ||
"attributes": [], | ||
"revokeDate": null, | ||
"resumeDate": null, | ||
"lastAccess": "4/4/2023 12:55 PM", | ||
"classAuthorizations": [], | ||
"logonAllowedDays": "anyday", | ||
"logonAllowedTime": "anytime", | ||
"groups": { | ||
"SYS1": { | ||
"auth": "use", | ||
"connectOwner": "leonard", | ||
"connectDate": "4/4/2023", | ||
"connects": 0, | ||
"uacc": null, | ||
"lastConnect": null, | ||
"connectAttributes": [], | ||
"revokeDate": null, | ||
"resumeDate": null | ||
} | ||
}, | ||
"securityLevel": null, | ||
"categoryAuthorization": null, | ||
"securityLabel": null | ||
} | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"returnCode": 0, | ||
"reasonCode": 0 | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
tests/user/user_result_samples/extract_user_result_extra_messages_success.xml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0" encoding="IBM-1047"?> | ||
<securityresult xmlns="http://www.ibm.com/systems/zos/saf/IRRSMO00Result1"> | ||
<user name="SQUIDWRD" operation="listdata" requestid="UserRequest"> | ||
<command> | ||
<safreturncode>0</safreturncode> | ||
<returncode>0</returncode> | ||
<reasoncode>0</reasoncode> | ||
<image>LISTUSER SQUIDWRD OMVS TSO OVM </image> | ||
<message>USER=SQUIDWRD NAME=SQUIDWARD OWNER=LEONARD CREATED=23.094</message> | ||
<message> DEFAULT-GROUP=SYS1 PASSDATE=00.000 PASS-INTERVAL=186 PHRASEDATE=N/A</message> | ||
<message> ATTRIBUTES=NONE</message> | ||
<message> REVOKE DATE=NONE RESUME DATE=NONE</message> | ||
<message> LAST-ACCESS=23.094/12:55:37</message> | ||
<message> CLASS AUTHORIZATIONS=NONE</message> | ||
<message> NO-INSTALLATION-DATA</message> | ||
<message> NO-MODEL-NAME</message> | ||
<message> LOGON ALLOWED (DAYS) (TIME)</message> | ||
<message> ---------------------------------------------</message> | ||
<message> ANYDAY ANYTIME</message> | ||
<message> GROUP=SYS1 AUTH=USE CONNECT-OWNER=LEONARD CONNECT-DATE=23.094</message> | ||
<message> CONNECTS= 00 UACC=NONE LAST-CONNECT=UNKNOWN</message> | ||
<message> CONNECT ATTRIBUTES=NONE</message> | ||
<message> REVOKE DATE=NONE RESUME DATE=NONE</message> | ||
<message>SECURITY-LEVEL=NONE SPECIFIED</message> | ||
<message>CATEGORY-AUTHORIZATION</message> | ||
<message> NONE SPECIFIED</message> | ||
<message>SECURITY-LABEL=NONE SPECIFIED</message> | ||
<message>IRR52021I You are not authorized to view OMVS segments.</message> | ||
<message>IRR52021I You are not authorized to view TSO segments.</message> | ||
<message>IRR52021I You are not authorized to view OVM segments.</message> | ||
</command> | ||
</user> | ||
<returncode>0</returncode> | ||
<reasoncode>0</reasoncode> | ||
</securityresult> |