Skip to content

Commit

Permalink
Merge pull request #891 from ajpc500/develop
Browse files Browse the repository at this point in the history
Moved CLI-only flags for osquery to flags file and commented out in osquery conf
  • Loading branch information
josehelps committed May 5, 2024
2 parents add280a + 1990538 commit b7c6100
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions packer/ansible/roles/osquery_linux/files/custom_osquery.flags
Expand Up @@ -7,3 +7,5 @@
--events_max=500000
--logger_min_status=1
--logger_plugin=filesystem
--config_plugin=filesystem
--database_path='/var/osquery/osquery.db'
Expand Up @@ -2,10 +2,10 @@
// Configure the daemon below:
"options": {
// Select the osquery config plugin.
"config_plugin": "filesystem",
//"config_plugin": "filesystem",

// Select the osquery logging plugin.
"logger_plugin": "filesystem",
//"logger_plugin": "filesystem",

// The log directory stores info, warning, and errors.
// If the daemon uses the 'filesystem' logging retriever then the log_dir
Expand All @@ -23,7 +23,7 @@

// A filesystem path for disk-based backing storage used for events and
// query results differentials. See also 'use_in_memory_database'.
"database_path": "/var/osquery/osquery.db",
//"database_path": "/var/osquery/osquery.db",

// Comma-delimited list of table names to be disabled.
// This allows osquery to be launched without certain tables.
Expand Down

0 comments on commit b7c6100

Please sign in to comment.