Fleet device management API wrapper for R.
FleetDM is a centralized MDM open-source solution for gathering hosts data via osquery and presenting it in normalized table view.
This package is inspired by osqueryr R package.
You can install the development version of aiRfleet from GitHub with:
# install.packages("pak")
pak::pak("i2z1/airfleet")
or
# install.packages("devtools")
devtools::install_github("i2z1/airfleet")
flt_con <- flt_connection(host = Sys.getenv("FLEET_HOST"),
apitoken = Sys.getenv("FLEET_TOKEN"))
hosts_df <- get_hosts(flt_con)
queries_df = query_list(flt_con)
query_create(flt_con, name = "users_qry", query = "SELECT * from users;")
query_delete(flt_con, id=51)