about summary refs log tree commit diff
path: root/bskylink/src/cache/rule.ts
blob: 09c4821f66661c7d934ba80c2c60a3635164ff20 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import {type SafelinkRule} from '../db/schema'

export const exampleRule: SafelinkRule = {
  id: 1,
  eventType: 'addRule',
  url: 'https://malicious.example.com/phishing',
  pattern: 'domain',
  action: 'block',
  reason: 'phishing',
  createdBy: 'did:plc:adminozonetools',
  createdAt: '2024-06-01T12:00:00Z',
  comment: 'Known phishing domain detected by automated scan.',
}