File tree Expand file tree Collapse file tree
pkg/collector/sharedlibrary/rustchecks/checks/datasecurity/src/backend Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ pub struct ScannedColumn {
2020#[ derive( Debug , Default ) ]
2121pub struct ScanData {
2222 /// Column-oriented values consumed by the scanner.
23+ // TODO(dsec-173): return an `Event` (dd-sensitive-data-scanner) per backend
24+ // instead of a `Value`, to avoid the intermediate JSON map and its copies.
2325 pub columns : Value ,
2426 /// The scanned columns (name + source data type), in query order.
2527 pub scanned_columns : Vec < ScannedColumn > ,
@@ -33,8 +35,6 @@ pub trait ScanEngine: Sync {
3335 /// Engine name, matched against the sub task platform.
3436 fn name ( & self ) -> & ' static str ;
3537 /// Runs the sub task's query and returns its columns and scan metadata.
36- // TODO(dsec-173): return an `Event` (dd-sensitive-data-scanner) per backend
37- // instead of a `Value`, to avoid the intermediate JSON map and its copies.
3838 fn fetch_data ( & self , sub_task : & SubTask ) -> Result < ScanData > ;
3939}
4040
You can’t perform that action at this time.
0 commit comments