@cryptotaxi247 / CoPilot / commits / 014bcbac

return artifact description with name (#43)

taylor_socfortress committed Jul 17, 2023 at 13:26 UTC 014bcbacb9f1397a51159a996bb8256eb4b0875c
1 file changed +1 -1
backend/app/services/Velociraptor/artifacts.py
+1 -1
@@ -48,7 +48,7 @@ class ArtifactsService:
48 Returns:
49 dict: A dictionary with the success status, a message, and potentially the artifacts.
50 """
51 - query = self._create_query("SELECT name FROM artifact_definitions()")
51 + query = self._create_query("SELECT name,description FROM artifact_definitions()")
52 return self.universal_service.execute_query(query)
53
54 def collect_artifacts_prefixed(self, prefix: str) -> dict: