fix: Make 'require_values' and 'template' optional in Provider model (#335)
* fix: Make 'require_values' and 'template' optional in Provider model * fix: Comment out Velociraptor service creation in run_file_collection function
taylor_socfortress committed
Nov 15, 2024 at 12:33 UTC
d9caeef9df2d4469ddcd9dc27b9e06828d4736a3
2 files changed
+3
-3
backend/app/connectors/graylog/schema/events.py
+2
-2
@@ -8,8 +8,8 @@ from pydantic import Field
8
9
10
class Provider(BaseModel):
11
- require_values: bool
12
- template: str
11
+ require_values: Optional[bool] = None
12
+ template: Optional[str] = None
13
type: str
14
15
backend/app/connectors/velociraptor/services/artifacts.py
+1
-1
@@ -178,7 +178,7 @@ async def run_file_collection(
178
Returns:
179
RunAnalyzerResponse: A dictionary containing the success status and a message.
180
"""
181
- #velociraptor_service = await UniversalService.create("Velociraptor")
181
+ # velociraptor_service = await UniversalService.create("Velociraptor")
182
return CollectArtifactResponse(
183
success=False,
184
message="Not yet implemented",