Security intents
Example
log('security.limited', 'Rate limit hit on validate-feed', { ip: '203.0.113.7' });WritesTS
{
"intent": "security.limited",
"level": "warn",
"alert": false,
"message": "Rate limit hit on validate-feed",
"data": {
"ip": "203.0.113.7"
},
"time": "2026-10-09T12:00:00.000Z"
}Choosing between neighbours
Find the row that describes your case, and use the intent on the right.
If it is
Use
A caller hit a rate limit
security.limitedthis page
Connections
Declared in the registry, both directions. Where an intent is used in your own code is something check and the gallery see; this site has no app code.
- Built from
- Written by
For registry authors
Starter intents. These are the intents prongs add logs puts in your registry. Change levels through the level.* intents, and point log() at your logger.
The entry prongs add logs writes into your registry. Change the level through its level.* ref.
'security.limited': {
kind: 'semantic',
description: 'A caller hit a rate limit',
refs: ['level.warn'],
},