-
Notifications
You must be signed in to change notification settings - Fork 19
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 #22 from abusix/538-enable-users-to-set-ahq-specif…
…ic-xarf-values Added 'InternalProcessing' object to base xarf
- Loading branch information
Showing
4 changed files
with
202 additions
and
1 deletion.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
samples/negative/development/invalid_internal_processing_wrong_data_type.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,44 @@ | ||
{ | ||
"Version": "development", | ||
"ReporterInfo": { | ||
"ReporterOrg": "ExampleOrg", | ||
"ReporterOrgDomain": "example.com", | ||
"ReporterOrgEmail": "[email protected]", | ||
"ReporterContactEmail": "[email protected]", | ||
"ReporterContactName": "Mr. Example", | ||
"ReporterContactPhone": "+ 01 000 1234567" | ||
}, | ||
"Disclosure": true, | ||
"InternalProcessing": { | ||
"SubscriberInformation": { | ||
"ID": 123112, | ||
"SubscriberData": { | ||
"Active": true | ||
} | ||
}, | ||
"EventTags": ["Wordpress", 9, "Untrusted"] | ||
}, | ||
"Report": { | ||
"ReportType": "OpenService", | ||
"ReportClass": "Vulnerability", | ||
"FirstSeen": "2020-03-15T15:17:10Z", | ||
"Date": "2020-07-24T14:17:10Z", | ||
"ServiceName": "redis", | ||
"ServiceVersion": "1.2.4", | ||
"SourceIp": "192.0.2.55", | ||
"SourcePort": 54321, | ||
"TransportProtocol": "tcp", | ||
"Samples": [ | ||
{ | ||
"ContentType": "text/plain", | ||
"Base64Encoded": false, | ||
"Description": "Log line", | ||
"Payload": "EXAMPLE Nmap done: 1 IP address (1 host up) scanned in 5.58 seconds EXAMPLE" | ||
} | ||
], | ||
"Custom": { | ||
"whatever": "examplevalue", | ||
"whatever2": "examplevalue2" | ||
} | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
samples/positive/development/loginattack_sample_optional_api_info.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,48 @@ | ||
{ | ||
"Version": "development", | ||
"ReporterInfo": { | ||
"ReporterOrg": "ExampleOrg", | ||
"ReporterOrgDomain": "example.com", | ||
"ReporterOrgEmail": "[email protected]", | ||
"ReporterContactEmail": "[email protected]", | ||
"ReporterContactName": "Mr. Example", | ||
"ReporterContactPhone": "+ 01 000 1234567" | ||
}, | ||
"Disclosure": true, | ||
"InternalProcessing": { | ||
"SubscriberInformation": { | ||
"ID": "32.112.219.3", | ||
"SubscriberData": { | ||
"PreviousStrikes": "3", | ||
"LastStrike": "2018-02-01T07:32:00Z" | ||
} | ||
}, | ||
"ContractInformation": { | ||
"ID": "32.112.219.3-premium", | ||
"ResolverData": { | ||
"ExpirationDate": "2019-01-01T00:00:00Z" | ||
} | ||
}, | ||
"EventTags": ["SSH", "Untrusted", "BruteForce"] | ||
}, | ||
"Report": { | ||
"ReportClass": "Activity", | ||
"ReportType": "LoginAttack", | ||
"Date": "2018-02-05T14:17:10Z", | ||
"SourceIp": "192.0.2.55", | ||
"SourcePort": 54321, | ||
"DestinationIp": "198.51.100.33", | ||
"DestinationPort": 80, | ||
"Ongoing": true, | ||
"ByteCount": 20000000, | ||
"PacketCount": 10000, | ||
"Samples": [ | ||
{ | ||
"ContentType": "text/plain", | ||
"Base64Encoded": false, | ||
"Description": "Log entry", | ||
"Payload": "User at 192.0.2.55:54321 tried to log in unsuccessfully 123 times." | ||
} | ||
] | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
samples/positive/development/openservice_sample_optional_api_info.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,52 @@ | ||
{ | ||
"Version": "development", | ||
"ReporterInfo": { | ||
"ReporterOrg": "ExampleOrg", | ||
"ReporterOrgDomain": "example.com", | ||
"ReporterOrgEmail": "[email protected]", | ||
"ReporterContactEmail": "[email protected]", | ||
"ReporterContactName": "Mr. Example", | ||
"ReporterContactPhone": "+ 01 000 1234567" | ||
}, | ||
"Disclosure": true, | ||
"InternalProcessing": { | ||
"SubscriberInformation": { | ||
"ID": "[email protected]", | ||
"SubscriberData": { | ||
"CustomerEMail": "[email protected]", | ||
"CustomerGeo": "South America", | ||
"AccountContact": "Mr. Contact Person" | ||
} | ||
}, | ||
"ContractInformation": { | ||
"ID": "[email protected]", | ||
"ResolverData": { | ||
"Active": "true" | ||
} | ||
}, | ||
"EventTags": ["Wordpress", "Admin", "Untrusted"] | ||
}, | ||
"Report": { | ||
"ReportType": "OpenService", | ||
"ReportClass": "Vulnerability", | ||
"FirstSeen": "2020-03-15T15:17:10Z", | ||
"Date": "2020-07-24T14:17:10Z", | ||
"ServiceName": "redis", | ||
"ServiceVersion": "1.2.4", | ||
"SourceIp": "192.0.2.55", | ||
"SourcePort": 54321, | ||
"TransportProtocol": "tcp", | ||
"Samples": [ | ||
{ | ||
"ContentType": "text/plain", | ||
"Base64Encoded": false, | ||
"Description": "Log line", | ||
"Payload": "EXAMPLE Nmap done: 1 IP address (1 host up) scanned in 5.58 seconds EXAMPLE" | ||
} | ||
], | ||
"Custom": { | ||
"whatever": "examplevalue", | ||
"whatever2": "examplevalue2" | ||
} | ||
} | ||
} |
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