Decrease download limits to begin with

This commit is contained in:
Thomas Stromberg 2023-06-02 18:03:44 -04:00
parent c2ce0ce7d7
commit 37ce71b94f
2 changed files with 2 additions and 2 deletions

View File

@ -23,4 +23,4 @@ WHERE
AND MAX(file.btime, file.ctime, file.mtime) > (strftime('%s', 'now') -604800)
-- "GROUP BY" should be unnecessary, but Kolide seems to require it
GROUP BY ea.key
HAVING total_size > (100*1024*1024) OR num_downloads > 5
HAVING total_size > (100*1024*1024) OR num_downloads > 4

View File

@ -20,4 +20,4 @@ WHERE
AND MAX(file.btime, file.ctime, file.mtime) > (strftime('%s', 'now') -604800)
-- "GROUP BY" should be unnecessary, but Kolide seems to require it
GROUP BY ea.key
HAVING total_size > (100*1024*1024) OR num_exports > 2
HAVING total_size > (100*1024*1024) OR num_exports > 1