Skip to content

Develop#49

Merged
0xmanhnv merged 5 commits into
mainfrom
develop
Apr 15, 2026
Merged

Develop#49
0xmanhnv merged 5 commits into
mainfrom
develop

Conversation

@0xmanhnv
Copy link
Copy Markdown
Collaborator

No description provided.

Migration 000140: merge metadata into properties, drop column.

Entity: remove metadata field, Metadata(), SetMetadata() entirely.
Repository: remove metadata from all SQL + scan + reconstruct.
Handler: remove metadata from API response (properties only).
Tests: update Reconstitute calls.

Zero test failures. Zero build errors.
Ingest processor now:
1. Resolves TypeAliases (e.g., "firewall" → type=network, sub_type=firewall)
2. Promotes sub_type from properties if collector sends it there
3. Removes sub_type from properties after promoting to entity field

Previously sub_type was only handled in API Create, not ingest flow.
Ingest processor now:
1. Resolves TypeAliases (e.g., "firewall" → type=network, sub_type=firewall)
2. Promotes sub_type from properties if collector sends it there
3. Removes sub_type from properties after promoting to entity field

Previously sub_type was only handled in API Create, not ingest flow.
@0xmanhnv 0xmanhnv merged commit b5f7a64 into main Apr 15, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant