Commit Graph

16 Commits

Author SHA1 Message Date
Zachary Wasserman
88cc73e4ca
Fix errors and clarify docs on config platform overrides (#1855)
Closes #1846
2018-06-28 12:02:31 -07:00
Mike Arpaia
b42e4bacf2
Add name not empty validation for spec types (#1783) 2018-05-14 12:23:38 -06:00
Zachary Wasserman
e337b65ada
Fix typoed query name in example pack (#1780) 2018-05-10 15:07:14 -07:00
Mike Arpaia
ab23e60a98
Add fleetctl get label, pack, query for individual items by name (#1768)
This PR adds support for getting resources by name.

```
$ fleetctl get queries
no queries found

$ fleetctl apply -f ./query.yaml
[+] applied 1 queries

$ fleetctl get queries
+-----------------+--------------------------------+--------------------------------+
|      NAME       |          DESCRIPTION           |             QUERY              |
+-----------------+--------------------------------+--------------------------------+
| osquery_version | The version of the Launcher    | select launcher.version,       |
|                 | and Osquery process            | osquery.version from           |
|                 |                                | kolide_launcher_info launcher, |
|                 |                                | osquery_info osquery;          |
+-----------------+--------------------------------+--------------------------------+

$ fleetctl get query osquery_version
apiVersion: v1
kind: query
spec:
  description: The version of the Launcher and Osquery process
  name: osquery_version
  query: select launcher.version, osquery.version from kolide_launcher_info launcher,
    osquery_info osquery;
```
2018-05-08 18:10:01 -06:00
Mike Arpaia
2795a61b3c
Working prototype of fleetctl apply (#1762) 2018-05-07 17:50:20 -06:00
Mike Arpaia
ee0a400a60
Update the apiVersion used in fleetctl files and docs (#1747) 2018-05-01 14:51:54 -06:00
Zachary Wasserman
2e9598de66
Merge decorators into other config options (#1707) 2018-02-09 11:35:09 -08:00
Zachary Wasserman
5e9fe9d5a1
Transition osquery options interfaces for compatibility with fleetctl (#1649)
- Refinements to options yaml definition
- Datastore and service implementations
- Migration to bring existing options into new table format
2017-12-13 18:14:54 -05:00
Matt Mencel
80767bcf8e Update fleet-deployment.yaml (#1652)
The helm deployment of the redis service creates a service called `fleet-cache-redis`.
2017-11-28 11:05:27 -05:00
Mike Arpaia
3259e7149b
Documenting deploying Fleet on Kubernetes (#1626) 2017-11-17 12:48:59 -07:00
Zachary Wasserman
f909f4808b
Make OsqueryOptions hierarchical by platform (#1625)
- Allow overriding base config on a per-platform basis.
- Merge FIM configs into the OsqueryOptions object.
2017-11-16 10:58:47 -08:00
Mike Arpaia
b251366c1e
Each file resource should map to a Fleet data model object (#1627) 2017-11-15 21:23:37 -07:00
Mike Arpaia
607b9141ea
Remove OsqueryQueries file type (#1622) 2017-11-15 16:10:11 -07:00
Mike Arpaia
a0909e6bee
Making the file format more operator friendly (#1605) 2017-11-13 18:11:08 -07:00
Mike Arpaia
1a3bda57ab
CLI documentation and design (#1603) 2017-11-13 16:00:40 -07:00
Mike Arpaia
796e0af8be
Initial CLI and file format for fleetctl
This PR implements a program called `fleetctl` which scaffolds a high level CLI interface which can be used to manage a Fleet server. Configuration is articulated using an intent-based API that resembles the API that is used to configure Kubernetes clusters. The idea here is to use the Kubernetes file format as a pattern to reduce the need for operators to become too intimately familiar with dramatically different file formats. (#1578)
2017-11-12 11:58:19 -07:00