-
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.
Changed structure of OpenService draft
- Loading branch information
Showing
6 changed files
with
91 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"Version": "development", | ||
"ReporterInfo": { | ||
"ReporterOrg": "ExampleOrg", | ||
"ReporterOrgDomain": "example.com", | ||
"ReporterOrgEmail": "[email protected]", | ||
"ReporterContactEmail": "[email protected]", | ||
"ReporterContactName": "Mr. Example", | ||
"ReporterContactPhone": "+ 01 000 1234567" | ||
}, | ||
"Disclosure": true, | ||
"Report": { | ||
"ReportType": "OpenService", | ||
"ReportClass": "Vulnerability", | ||
"FirstSeen": "2020-03-15T15:17:10Z", | ||
"Date": "2020-07-24T14:17:10Z", | ||
"SourceIp": "192.0.2.55", | ||
"SourcePort": 54321, | ||
"Service": "bla", | ||
"Protocol": "thisisnoprotocol", | ||
"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" | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
samples/negative/development/invalid_openservice_missing_service.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,33 @@ | ||
{ | ||
"Version": "development", | ||
"ReporterInfo": { | ||
"ReporterOrg": "ExampleOrg", | ||
"ReporterOrgDomain": "example.com", | ||
"ReporterOrgEmail": "[email protected]", | ||
"ReporterContactEmail": "[email protected]", | ||
"ReporterContactName": "Mr. Example", | ||
"ReporterContactPhone": "+ 01 000 1234567" | ||
}, | ||
"Disclosure": true, | ||
"Report": { | ||
"ReportType": "OpenService", | ||
"ReportClass": "Vulnerability", | ||
"FirstSeen": "2020-03-15T15:17:10Z", | ||
"Date": "2020-07-24T14:17:10Z", | ||
"SourceIp": "192.0.2.55", | ||
"SourcePort": 54321, | ||
"Protocol": "thisisnoprotocol", | ||
"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
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