Skip to content

Commit 371a14e

Browse files
authored
Merge pull request #13 from Hacker0x01/feat/enhance-report-query
feat: enhance GetHackerOneReportByID query with additional fields
2 parents 38cfc0b + 3285fcc commit 371a14e

File tree

2 files changed

+5567
-3016
lines changed

2 files changed

+5567
-3016
lines changed

graphql/operations/GetHackerOneReportByID.graphql

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ query GetHackerOneReportByID($databaseId: Int!) {
77
title
88
vulnerability_information
99
substate
10+
reference
11+
reference_link
1012
severity {
1113
id
1214
rating
@@ -24,6 +26,36 @@ query GetHackerOneReportByID($databaseId: Int!) {
2426
custom_fields {
2527
total_count
2628
}
29+
activities(
30+
first: 100
31+
order_by: { field: created_at, direction: ASC }
32+
) {
33+
total_count
34+
edges {
35+
node {
36+
... on ActivityInterface {
37+
id
38+
_id
39+
internal
40+
created_at
41+
updated_at
42+
message
43+
actor {
44+
... on User {
45+
id
46+
username
47+
name
48+
}
49+
... on Team {
50+
id
51+
handle
52+
name
53+
}
54+
}
55+
}
56+
}
57+
}
58+
}
2759
}
2860
}
2961
}

0 commit comments

Comments
 (0)