Skip to content

Commit

Permalink
add otx 'role'
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspermayone committed Jan 14, 2025
1 parent 1bb5eff commit 5f9c4dd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/admin/routes/domain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ router.post(
{
indicator: `${report.domain.domain}`,
type: "domain",
role: "phishing",
},
],
},
Expand Down
2 changes: 2 additions & 0 deletions src/routes/domain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ router.get("/check", authenticateToken, stripeMeter, async (req, res) => {
{
indicator: `${domain}`,
type: "domain",
role: "phishing",
},
],
},
Expand Down Expand Up @@ -194,6 +195,7 @@ router.get("/check", authenticateToken, stripeMeter, async (req, res) => {
{
indicator: `${domain}`,
type: "domain",
role: "phishing",
},
],
},
Expand Down
1 change: 1 addition & 0 deletions src/routes/email.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ router.get("/check/:email", async (req, res) => {
{
indicator: `${email}`,
type: "email",
role: "phishing",
},
],
},
Expand Down

0 comments on commit 5f9c4dd

Please # to comment.