Files
osmedeus/test/testdata/sample-jsonl-output/custom-assets.jsonl
T
j3ssie 225f2d7d15 feat: add SSH and DNS asset import utilities
- Add ssh_exec() and ssh_rsync() functions for remote command execution and file transfer with connection pooling
- Add db_import_dns_asset() to import DNS zone records and group by domain with A/AAAA records stored separately
- Add db_import_custom_asset() for flexible JSONL asset import with direct field mapping, supporting tags and custom asset types
- Extend Asset model with ExternalURL, Remarks (string array), Language, Size, and LOC fields for better metadata tracking
- Add backward compatibility layer for legacy JSON formats (string remarks, tags array merging)
- Register new functions in function registry with proper documentation and usage examples
2026-02-12 19:44:39 +07:00

4 lines
460 B
JSON

{"asset_value":"api.example.com","url":"https://api.example.com","asset_type":"url","source":"custom-scan","tags":["api","production"],"external_url":"https://jira.example.com/PROJ-123","remarks":"API endpoint"}
{"asset_value":"admin.example.com","asset_type":"domain","source":"dns-enum","tags":["admin"],"host_ip":"10.0.0.5"}
{"asset_value":"cdn.example.com","url":"https://cdn.example.com","asset_type":"url","source":"crawl","tech":["Cloudflare","nginx"]}