10000 Merge pull request #588 from Hacker0x01/martijnrusschen-patch-20 · csit-github/docs.hackerone.com@c12f05a · GitHub
[go: up one dir, main page]

Skip to content

Commit c12f05a

Browse files
authored
Merge pull request Hacker0x01#588 from Hacker0x01/martijnrusschen-patch-20
Add example event for Splunk
2 parents 6be702e + cb8a159 commit c12f05a

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

docs/programs/splunk-integration.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,56 @@ Once you've successfully added the intergration, you'll be able to retrieve data
7373
- `8088` on Splunk Cloud free trials
7474
- `443` by default on Splunk Cloud instances
7575
- `<endpoint>` is the HEC endpoint you want to use. In many cases, you use the `/services/collector` endpoint for JavaScript Object Notation (JSON)-formatted events or the `services/collector/raw` endpoint for raw events
76+
77+
### Example event
78+
Below you can find an example of an event that gets pushed from HackerOne to Splunk.
79+
80+
```
81+
{
82+
"data": {
83+
"id": "1337",
84+
"type": "activity-comment",
85+
"attributes": {
86+
"message": "Comment!",
87+
"created_at": "2016-02-02T04:05:06.000Z",
88+
"updated_at": "2016-02-02T04:05:06.000Z",
89+
"internal": false
90+
},
91+
"relationships": {
92+
"actor": {
93+
"data": {
94+
"id": "1337",
95+
"type": "user",
96+
"attributes": {
97+
"username": "api-example",
98+
"name": "API Example",
99+
"disabled": false,
100+
"created_at": "2016-02-02T04:05:06.000Z",
101+
"profile_picture": {
102+
"62x62": "/assets/avatars/default.png",
103+
"82x82": "/assets/avatars/default.png",
104+
"110x110": "/assets/avatars/default.png",
105+
"260x260": "/assets/avatars/default.png"
106+
}
107+
}
108+
}
109+
},
110+
"attachments": {
111+
"data": [
112+
{
113+
"id": "1337",
114+
"type": "attachment",
115+
"attributes": {
116+
"expiring_url": "/system/attachments/files/000/001/337/original/root.rb?1454385906",
117+
"created_at": "2016-02-02T04:05:06.000Z",
118+
"file_name": "root.rb",
119+
"content_type": "text/x-ruby",
120+
"file_size": 2871
121+
}
122+
}
123+
]
124+
}
125+
}
126+
}
127+
}
128+
```

0 commit comments

Comments
 (0)
0