How to add a plugin for sublime security

i want to imtegrate sublime security with grafana . what are the configuration steps

Welcome

Do you mean you want to see stats from sublime visualized or you want to add grafana to sublime’s ecosystem so sublime checks grafana?

I want to create a phishing dashboard and i want to get data from sublime to grafana dashboard. For example if i click the link in grafana i need to be navigated to sublime security.

1 Like

Does sublime provide an api or you have access to its data?

If a rest api please provide sample data of the json

is there any plugin for sublime security?

Does sublime provide an api or you have access to its data?

If a rest api please provide sample data of the json

api key is there. I want alerts from sublime to come to grafana dashboard.

Stiĺl waiting for the above

Did you mean the json response that we are getting while accessing the grafana or what would be the actual response that we have to get it?

The json data coming from sublime rest api

can you tell me how to get that

Look at their documentation

@zakii there’s not a sublime plugin. We’ve had success using a rest API with json data and there are several plugins that will do that.

Infinity plugin for Grafana | Grafana Labs is one the community squad uses to import discourse forum data into Grafana - that’s why @yosiasz was asking about the API.

I’d suggest checking with Sublime (docs, forum, or support) to find out more about their API and authorization so you know what information is needed to configure the plugin and get the data you’re after into Grafana.

1 Like

{
“id”: “5e02026c-55c1-4cbb-8a18-76eb2f3e06d3”,
“api_version”: “0”,
“created_at”: “2021-06-30T16:17:22.937642Z”,
“type”: “message.flagged”,
“data”: {
“message”: {
“id”: “dff3be1d-b348-4dab-bb60-582842909a88”,
“canonical_id”: “767f6519458092af9994a79ae73ca055e1365618”,
“external_id”: “17a5db5ea7fa760d”,
“message_source_id”: “a5843e7d-4ba5-40df-954e-73cb2f1e3e7e”,
“mailbox”: {
“id”: “f0654b68-2686-491e-8fcb-e4ad61c61ad8”,
“external_id”: “109412126579921477721”
}
},
“flagged_rules”: [
{
“id”: “756b841c-4560-49b3-a8c0-dbacb2900aa5”,
“name”: “Brand impersonation: Chase Bank”,
“severity”: “high”,
“tags”: [
“brand-impersonation”,
“suspicious-sender”
]
},
{
“id”: “67cfc6d8-3cbb-4338-ae8e-fffb0adccd12”,
“name”: “Firebase storage link”,
“severity”: “medium”,
“tags”: [
“suspicious-content”
]
}
],
“triggered_actions”: [
{
“id”: “6f45c807-a9c7-47a8-8c3e-5391e4f477ca”,
“name”: “Auto-trash”,
“type”: “trash_message”
},
{
“id”: “8edd8b97-7b85-40d2-9045-a619ae9b4e52”,
“name”: “Notify SIEM”,
“type”: “webhook”
}
]
}
}

1 Like

Finally! And now what kind of dashboard do you want and which data points do you want to display from this json data?

I can you show you an example.

1 Like

?? I hope you got answer for your question

1 Like

@zakii your options since there is not a plugin specifically for sublime security are:

  • Develop your own plugin for sublime security. To do this you need to be familiar with software development and specifically typescript and golang. You can find information of how to do it here
  • Use a plugin such as the infinity plugin to connect the JSON endpoint, fetch the data and display it in grafana in a more generic way

can you give me steps , because i am not familiar with development

@zakii unfortunately It’ll be impossible to provide specific steps on how to develop a plugin for grafana if you don’t have experience with software development.

Your best option in this case is to use something like infinity plugin. You can follow its documentation and you can open a discussion in their project if you want further help on how to use it.