Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ATT&CK ID property to objects #11

Open
7 tasks
seansica opened this issue Dec 18, 2024 · 0 comments
Open
7 tasks

Add ATT&CK ID property to objects #11

seansica opened this issue Dec 18, 2024 · 0 comments

Comments

@seansica
Copy link
Contributor

  • Add Zod schema + types for ATT&CK IDs
    • Technique: T####
    • Subtechnique: T####.###
    • Groups: G####
    • Software: S####
    • Mitigation: M####
  • Add class property + getter/setter for ATT&CK ID to all classes that extend AttackBaseImpl.

Example:


// type casting for mitigation IDs
const M1042: MitigationAttackId = "M1042";

// attackId directly retrievable from the class instance
export class TechniqueImpl extends AttackBaseImpl {

  private _attackId: TechniqueAttackId = '';
  
  getAttackId(): TechniqueAttackId {
    return this._attackId;
  }
  ...
}
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

When branches are created from issues, their pull requests are automatically linked.

1 participant