Skip to content

Commit

Permalink
fix: Adding warning of deprecation of PreAttack framework since it is…
Browse files Browse the repository at this point in the history
… no longer officially supported by MITRE. Fixes #126
  • Loading branch information
MSAdministrator committed Feb 10, 2023
1 parent 6d6763b commit 085828e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pyattck/attck.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import warnings

from .base import Base
from .configuration import Configuration, Options

Expand Down Expand Up @@ -265,6 +267,10 @@ def preattack(self):
from .preattck import PreAttck

self.__logger.debug("Calling MITRE Pre-ATT&CK Framework")
warnings.warn(
"MITRE has deprecated the Pre-ATT&CK Framework. "
"Please use the Enterprise Framework instead and the PreAttack framework will no longer be supported."
)
return PreAttck()

@property
Expand Down

0 comments on commit 085828e

Please sign in to comment.