mitre-attack / attack-data-model

ATT&CK Data Model (ADM): A TypeScript library for structured interaction with MITRE ATT&CK datasets. Uses Zod schemas, TypeScript types, and ES6 classes to provide a type-safe, object-oriented interface for STIX 2.1 formatted ATT&CK data. Features parsing, validation, and serialization capabilities.
Apache License 2.0
0 stars 0 forks source link

Zod Schemas #2

Closed seansica closed 3 weeks ago

seansica commented 3 months ago

Populate ATT&CK Schemas

Description

We need to populate all the ATT&CK schemas based on the template provided. Each schema should be created in its own file and should extend the AttackCoreSDOSchema with appropriate fields and validations.

Tasks

  1. Create a new file for each schema in the appropriate directory.
  2. Copy the schema template into each file.
  3. Replace placeholder names with the appropriate schema name.
  4. Add all necessary fields specific to each schema type.
  5. Implement appropriate validations and error messages for each field.
  6. Ensure consistency with STIX and ATT&CK specifications. (See docs/summary.md for help)

Schema Assignments and Status

Schema Module Assigned To Status Reviewer
campaign.schema.ts @clemiller Done ✅ @seansica
matrix.schema.ts @erinehall Done ✅ @seansica
group.schema.ts @erinehall Done ✅ @seansica
collection.schema.ts @clemiller Done ✅ @seansica
tactic.schema.ts @clemiller Done ✅ @seansica
technique.schema.ts @clemiller Done ✅ @seansica
asset.schema.ts @clemiller Done ✅ @seansica
software.schema.ts @adpare Done ✅ @seansica
tool.schema.ts @adpare Done ✅ @seansica
malware.schema.ts @adpare Done ✅ @seansica
identity.schema.ts @adpare Done ✅ @seansica
mitigation.schema.ts @erinehall Done ✅ @seansica
marking-definition.schema.ts @erinehall Done ✅ @seansica
data-source.schema.ts @erinehall Done ✅ @seansica
data-component.schema.ts @erinehall Done ✅ @seansica
relationship.schema.ts (sro) @clemiller Done ✅ @seansica
stix-bundle.schema.ts @adpare Done ✅ @seansica

Resources

Definition of Done

Additional Notes

Please comment on this issue if you have any questions or need clarification on any aspect of the schema implementation.

seansica commented 3 months ago

design