-
Notifications
You must be signed in to change notification settings - Fork 468
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed $ character from all shell commands in docs. (#32)
$ character is now removed from all shell commands in markdown documentation. When docs are eventually compiling to we can add $ automatically to code blocks.
- Loading branch information
1 parent
227f854
commit 6536ba6
Showing
8 changed files
with
96 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,15 +29,15 @@ At this point, the MySQL database doesn't have any users in it. Because of this, | |
Now, since our Fleet instance is local in this tutorial, we didn't get a valid TLS certificate, so we need to run the following to configure our Fleet context: | ||
|
||
``` | ||
$ fleetctl config set --address https://localhost:8080 --tls-skip-verify | ||
fleetctl config set --address https://localhost:8080 --tls-skip-verify | ||
[+] Set the address config key to "https://localhost:8080" in the "default" context | ||
[+] Set the tls-skip-verify config key to "true" in the "default" context | ||
``` | ||
|
||
Now, if you were connecting to a Fleet instance for real, you wouldn't want to skip TLS certificate verification, so you might run something like: | ||
|
||
``` | ||
$ fleetctl config set --address https://fleet.corp.example.com | ||
fleetctl config set --address https://fleet.corp.example.com | ||
[+] Set the address config key to "https://fleet.corp.example.com" in the "default" context | ||
``` | ||
|
||
|
@@ -46,7 +46,7 @@ $ fleetctl config set --address https://fleet.corp.example.com | |
Now that we've configured our local CLI context, lets go ahead and create our admin account: | ||
|
||
``` | ||
$ fleetctl setup --email [email protected] | ||
fleetctl setup --email [email protected] | ||
Password: | ||
[+] Fleet setup successful and context configured! | ||
``` | ||
|
@@ -60,7 +60,7 @@ For the sake of this tutorial, I'm going to be using Kolide's osquery launcher t | |
To get your osquery enroll secret, run the following: | ||
|
||
``` | ||
$ fleetctl get enroll-secret | ||
fleetctl get enroll-secret | ||
E7P6zs9D0mvY7ct08weZ7xvLtQfGYrdC | ||
``` | ||
|
||
|
@@ -79,7 +79,7 @@ launcher \ | |
To run a simple query against all hosts, you might run something like the following: | ||
|
||
``` | ||
$ fleetctl query --query 'select * from osquery_info;' --labels='All Hosts' > results.json | ||
fleetctl query --query 'select * from osquery_info;' --labels='All Hosts' > results.json | ||
⠂ 100% responded (100% online) | 1/1 targeted hosts (1/1 online) | ||
^C | ||
``` | ||
|
@@ -154,10 +154,10 @@ Now run a live query again. You should notice results coming back more quickly. | |
If you have an existing Fleet instance (version 2.0.0 or above), then simply run `fleetctl login` (after configuring your local CLI context): | ||
``` | ||
$ fleetctl config set --address https://fleet.corp.example.com | ||
fleetctl config set --address https://fleet.corp.example.com | ||
[+] Set the address config key to "https://fleet.corp.example.com" in the "default" context | ||
|
||
$ fleetctl login | ||
fleetctl login | ||
Log in using the standard Fleet credentials. | ||
Email: [email protected] | ||
Password: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.