pedrobento988 commited on
Commit
3caa3e9
·
verified ·
1 Parent(s): 3fe27ba

Update tdagent/grchat.py

Browse files
Files changed (1) hide show
  1. tdagent/grchat.py +13 -5
tdagent/grchat.py CHANGED
@@ -39,8 +39,9 @@ if TYPE_CHECKING:
39
  class AgentType(str, enum.Enum):
40
  """TDAgent type."""
41
 
42
- INCIDENT_HANDLER = "Incident handler"
43
  DATA_ENRICHER = "Data enricher"
 
 
44
 
45
  def __str__(self) -> str: # noqa: D105
46
  return self.value
@@ -48,6 +49,14 @@ class AgentType(str, enum.Enum):
48
 
49
  AGENT_SYSTEM_MESSAGES = OrderedDict(
50
  (
 
 
 
 
 
 
 
 
51
  (
52
  AgentType.INCIDENT_HANDLER,
53
  """
@@ -67,11 +76,10 @@ instructed to do so.
67
  """.strip(),
68
  ),
69
  (
70
- AgentType.DATA_ENRICHER,
71
  """
72
- You are a cybersecurity incidence data enriching assistant. Analysts
73
- will present information about security incidents and you must use
74
- all the tools at your disposal to enrich the data as much as possible.
75
  """.strip(),
76
  ),
77
  ),
 
39
  class AgentType(str, enum.Enum):
40
  """TDAgent type."""
41
 
 
42
  DATA_ENRICHER = "Data enricher"
43
+ INCIDENT_HANDLER = "Incident handler"
44
+ PEN_TESTER = "PenTester"
45
 
46
  def __str__(self) -> str: # noqa: D105
47
  return self.value
 
49
 
50
  AGENT_SYSTEM_MESSAGES = OrderedDict(
51
  (
52
+ (
53
+ AgentType.DATA_ENRICHER,
54
+ """
55
+ You are a cybersecurity incidence data enriching assistant. Analysts
56
+ will present information about security incidents and you must use
57
+ all the tools at your disposal to enrich the data as much as possible.
58
+ """.strip(),
59
+ ),
60
  (
61
  AgentType.INCIDENT_HANDLER,
62
  """
 
76
  """.strip(),
77
  ),
78
  (
79
+ AgentType.PEN_TESTER,
80
  """
81
+ You are a cybersecurity pentester. You use tools to analyze domain to try to discover system vulnerabilities.
82
+ Always report you findings and suggest next steps to deep dive where applicable.
 
83
  """.strip(),
84
  ),
85
  ),