Skip to content

Commit bb59676

Browse files
Merge branch 'main' of github.com:box/developer.box.com into staging
2 parents d07c38a + fd6008a commit bb59676

File tree

3 files changed

+92
-16
lines changed

3 files changed

+92
-16
lines changed

content/guides/events/event-triggers/shield-alert-events.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ The possible alerts produced by Shield are for:
2727
2. Suspicious sessions
2828
3. Anomalous downloads
2929
4. Malicious content
30+
5. Ransomware activity (part of Shield Pro)
3031

3132
All Shield threat detection alert events are produced within the
3233
[enterprise event][events] stream. These events follow the
@@ -339,6 +340,76 @@ The `additional_details` payload will provide the following details:
339340
}
340341
```
341342

343+
### Ransomware activity alert
344+
345+
<!--alex ignore-->
346+
347+
A ransomware activity alert is produced when Box Shield identifies suspicious file extensions that may be indicative of a ransomware attack. It can be identified by the Ransomware Activity value within `additional_details.shield_alert.rule_category`.
348+
349+
The `additional_details` payload will provide the following details:
350+
351+
<!--alex enable-->
352+
353+
```json
354+
{
355+
"source": null,
356+
"created_by": {
357+
"type": "user",
358+
"id": "2",
359+
"name": "Unknown User",
360+
"login": ""
361+
},
362+
"action_by": null,
363+
"created_at": "2025-08-19T10:44:26-07:00",
364+
"event_id": "5b508973-0e48-4bc1-80b2-a05b5382eb37",
365+
"event_type": "SHIELD_ALERT",
366+
"ip_address": "1.2.3.4",
367+
"type": "event",
368+
"session_id": null,
369+
"additional_details": {
370+
"shield_alert": {
371+
"rule_category": "Ransomware Activity",
372+
"rule_id": "1234",
373+
"rule_name": "Ransomware Detection",
374+
"rule_response_action": null,
375+
"risk_score": 100,
376+
"alert_summary": {
377+
"total_files_affected": 42,
378+
"ip_details": [
379+
{
380+
"ip": "1.2.3.4",
381+
"registrant": "Microsoft Corporation",
382+
"latitude": "37.5555",
383+
"longitude": "-120.6789",
384+
"city_name": "San Jose",
385+
"region_name": "California",
386+
"country_code": "US"
387+
}
388+
],
389+
"suspicious_file_extensions": [
390+
"lockbit"
391+
],
392+
"anomaly_period": {
393+
"date_range": {
394+
"start_date": "2009-02-13T23:31:30Z",
395+
"end_date": "2009-02-13T23:31:30Z"
396+
}
397+
}
398+
},
399+
"alert_id": 1234,
400+
"priority": "medium",
401+
"user": {
402+
"id": 8167630149,
403+
"name": "Some user",
404+
"email": "[email protected]"
405+
},
406+
"link": "https://app.box.com/master/shield/alerts/1234",
407+
"created_at": "2025-08-19T10:44:26-07:00"
408+
}
409+
}
410+
}
411+
```
412+
342413
<!-- i18n-enable localize-links -->
343414
[box-shield]: https://www.box.com/shield
344415
[threatdetect]:https://support.box.com/hc/en-us/articles/360044196113-Using-Threat-Detection

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@
5656
"dependencies": {
5757
"@apidevtools/json-schema-ref-parser": "^11.7.2",
5858
"alex": "^11.0.1",
59-
"axios": "^1.7.8",
59+
"axios": "^1.12.0",
6060
"comment-json": "^4.2.5",
6161
"concurrently": "^9.1.0",
6262
"dot-prop": "^9.0.0",
6363
"esm": "^3.2.25",
6464
"fs-extra": "^11.2.0",
6565
"glob": "8.1.0",
6666
"jest": "^29.7.0",
67-
"js-yaml": "^4.1.0",
67+
"js-yaml": "^4.1.1",
6868
"jsonpath": "^1.0.2",
6969
"markdown-spellcheck": "^1.3.1",
7070
"markdownlint-cli": "^0.41.0",

yarn.lock

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,13 +1103,13 @@ asynckit@^0.4.0:
11031103
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
11041104
integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==
11051105

1106-
axios@^1.7.8:
1107-
version "1.9.0"
1108-
resolved "https://registry.yarnpkg.com/axios/-/axios-1.9.0.tgz#25534e3b72b54540077d33046f77e3b8d7081901"
1109-
integrity sha512-re4CqKTJaURpzbLHtIi6XpDv20/CnpXOtjRY5/CU32L8gU8ek9UIivcfvSWvmKEngmVbrUtPpdDwWDWL7DNHvg==
1106+
axios@^1.12.0:
1107+
version "1.12.0"
1108+
resolved "https://registry.yarnpkg.com/axios/-/axios-1.12.0.tgz#11248459be05a5ee493485628fa0e4323d0abfc3"
1109+
integrity sha512-oXTDccv8PcfjZmPGlWsPSwtOJCZ/b6W5jAMCNcfwJbCzDckwG0jrYJFaWH1yvivfCXjVzV/SPDEhMB3Q+DSurg==
11101110
dependencies:
11111111
follow-redirects "^1.15.6"
1112-
form-data "^4.0.0"
1112+
form-data "^4.0.4"
11131113
proxy-from-env "^1.1.0"
11141114

11151115
babel-jest@^29.7.0:
@@ -1811,7 +1811,12 @@ es-set-tostringtag@^2.1.0:
18111811
has-tostringtag "^1.0.2"
18121812
hasown "^2.0.2"
18131813

1814-
escalade@^3.1.1, escalade@^3.2.0:
1814+
escalade@^3.1.1:
1815+
version "3.1.1"
1816+
resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz"
1817+
integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==
1818+
1819+
escalade@^3.2.0:
18151820
version "3.2.0"
18161821
resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.2.0.tgz#011a3f69856ba189dffa7dc8fcce99d2a87903e5"
18171822
integrity sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==
@@ -2041,10 +2046,10 @@ form-data-encoder@^2.1.2:
20412046
resolved "https://registry.yarnpkg.com/form-data-encoder/-/form-data-encoder-2.1.4.tgz#261ea35d2a70d48d30ec7a9603130fa5515e9cd5"
20422047
integrity sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw==
20432048

2044-
form-data@^4.0.0:
2045-
version "4.0.3"
2046-
resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.3.tgz#608b1b3f3e28be0fccf5901fc85fb3641e5cf0ae"
2047-
integrity sha512-qsITQPfmvMOSAdeyZ+12I1c+CKSstAFAwu+97zrnWAbIr5u8wfsExUzCesVLC8NgHuRUqNN4Zy6UPWUTRGslcA==
2049+
form-data@^4.0.4:
2050+
version "4.0.4"
2051+
resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.4.tgz#784cdcce0669a9d68e94d11ac4eea98088edd2c4"
2052+
integrity sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==
20482053
dependencies:
20492054
asynckit "^0.4.0"
20502055
combined-stream "^1.0.8"
@@ -3098,10 +3103,10 @@ js-yaml@^3.10.0, js-yaml@^3.13.1:
30983103
argparse "^1.0.7"
30993104
esprima "^4.0.0"
31003105

3101-
js-yaml@^4.1.0:
3102-
version "4.1.0"
3103-
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602"
3104-
integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==
3106+
js-yaml@^4.1.0, js-yaml@^4.1.1:
3107+
version "4.1.1"
3108+
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.1.tgz#854c292467705b699476e1a2decc0c8a3458806b"
3109+
integrity sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==
31053110
dependencies:
31063111
argparse "^2.0.1"
31073112

0 commit comments

Comments
 (0)