Commit Graph
17 Commits
Author SHA1 Message Date
Paul Gottschling ec148983f2 Fix minor issues that impact SEO (#15739)
- Fix broken links, including some that resulted from an unintended bulk edit
- Add a description to a page that was missing one
2022-08-29 16:34:38 +00:00
Paul Gottschling e3b1c2906e Replace Tile components with lists of links (#15266)
This change replaces all `Tile`s in the docs with lists of links. This
achieves two things:

- Helps us move toward a more text-focused look and feel for the docs.
  See gravitational/docs#93.
- Makes it easier to reorganize the docs. Currently, there's no linting
  for internal links in `Tile` hrefs (See gravitational/docs#100).

I used this script to edit each docs page, invoking the script for all
MDX files in docs/pages:

```
gawk '
    BEGIN{inopentag=0; indesc=0; desc=""; title=""; href="";}
    /<\/?TileSet>/{next;}
    /<Tile/ {
        inopentag=1;
    }
    inopentag==1 && /title=/{
        title=gensub(/.*title="([^"]+)".*/, "\\1", "g", $0);
    }
    inopentag==1 && /href=/{
        href=gensub(/.*href="([^"]+)".*/, "\\1", "g", $0);
    }
    inopentag==1 && />/ {
      inopentag=0;
      indesc=1;
      next;
    }
    indesc==1 && !/<\/Tile/{
        gsub(/(\n|\t|\s{2,})/," ",$0);
	desc=desc ($0);
	next;
    }
    /<\/Tile/{
        print "- [" title "](" href "):" desc;
	indesc=0;
	desc="";
	title="";
	href="";
	next;
    }
    inopentag==0 && indesc==0{ print $0 }

' $1 > "$1.tmp";
cat "$1.tmp" > "$1";
rm "$1.tmp";
```

I then cleaned up each file changed by the script and fixed any
incorrect URLs.
2022-08-10 22:27:31 +00:00
Zac Bergquist 9c749e80e7 docs: add desktop session recording and clipboard sharing (#11005) 2022-03-16 22:35:11 +00:00
Zac Bergquist 5f1eb44af5 Update desktop access docs for 9.0 (#10406)
* Update desktop access docs for 9.0

- Remove admonition about being in preview
- Add audit events listing
- Break reference.mdx up into separate pages

* Update tile icons

* Address review suggestions

* Another review pass
2022-02-22 23:21:46 +00:00
Joel ddee244cde Add documentation for moderated sessions (#9425) 2022-02-11 14:12:00 +01:00
Zac Bergquist ab24cbde54 Document desktop role options for Teleport 9 (#10227) 2022-02-10 15:33:27 +00:00
Trent Clarke 7bbbdbdd27 Fixes DocTest CI (#10117)
The linting applied to file via the tools in next appears to vary if the files are outside the /src directory: If the files are under /src, a rigorous lint is applied. If the files are outside of /src, a "less-rigorous" lint is applied, letting many legitimate issues slip through.

This patch alters the CI script to symlink the /workspace directory (the mount-point that GCB uses to inject code into the container running a build step) under the next image's /src/content directory, so that the correct, rigorous lint will be applied.

It also fixes the lint errors that have crept in during the time the linter was being incorrectly lenient.

See-Also: #9600
See-Also: #10107
2022-02-04 10:16:27 -05:00
Zac Bergquist 304571955f docs: recommend a highly available LDAP endpoint. (#9744)
* Recommend a highly available LDAP endpoint.

Early versions of our docs were worded in such a way that suggested
pointing Teleport at a single domain controller, which would result
in issues if a DC goes down for maintenance or due to error.

We also used to make insecure LDAP connections on port 389, and then
upgrade them using a STARTTLS operation. This is no longer supported.

Fix both of these issues by recommending a highly available LDAP
server and removing references to port 389.

* Add note about direct vs IoT mode

* Move the desktop config reference to a shared includes file

This will prevent the desktop access config examples from diverging
in different parts of the docs.

Additionally, simplify the example in the getting started guide,
as the goal of that guide is to get up and running quickly, not
to provide an exhaustive reference of all the configuration options.
2022-01-14 01:10:38 +00:00
Isaiah Becker-Mayer c250d08744 fixes mdx comment style (#9599)
* fixes mdx comment style. leaves a test of the previous comment style in there to see how it got past CI

* removing bad comment
2021-12-30 11:24:36 -05:00
Isaiah Becker-Mayer de893cf65c Adds the windows_desktop_service section to the meta teleport.yaml (#9573) 2021-12-29 19:31:27 +00:00
Zac Bergquist ce03d2cdea Enhance LDAP desktop discovery (#9152)
* Refactor component heartbeat callbacks

Consolidate the OK/degraded broadcasts so the same logic isn't
duplicated for each component.

* Periodically update discovered desktops

Fixes #8644

* Allow customizing the desktop search

With this change, we support a discovery base DN other than '*',
and add support for further filtering the results with additional
LDAP filters.

Additionally, we filter out group managed service accounts, which
show up in LDAP searches for (objectClass=computer), despite not
being comptuers. (This is mostly harmless, as the service accounts
aren't present in DNS, so Teleport just ignores them. It does, however,
log a DNS error message that could be confusing, so we explicitly
filter these out just to be safe. This was discovered when testing
on AWS managed AD, which creates a gMSA for DNS.
2021-12-01 16:17:30 -08:00
f44561d1f5 docs: LDAP service account setup (#8875)
* updating docs with service account tutorial

* minor corrections

* Apply suggestions from code review

Co-authored-by: Zac Bergquist <zmb3@users.noreply.github.com>

* wording changes based on CR

* minor changes and fixes and adds updated photos with new naming convention

* Updating documentation

* updating gpo instructions to actually make sense

* nits

* adding instructions for exporting ca

* removing unhelpful screen shot

* Fixes quotes and updates to LDAPS

Co-authored-by: Ben Arent <ben@goteleport.com>

* clarifying comment

Co-authored-by: Zac Bergquist <zmb3@users.noreply.github.com>
Co-authored-by: Ben Arent <ben@goteleport.com>
2021-11-19 13:10:41 -08:00
Zac Bergquist 747f37069d Make LDAP desktop discovery disabled by default
Since our LDAP-based desktop discovery is not very configurable,
we opt to have it disabled by default.

Teleport will log a warning if desktop discovery is disabled and there
are no statically defined Windows desktops. In this case, the Windows
Desktop Service will simply sit idle, as there will be no desktops
available to connect to.

This commit implements the above, but also paves the way towards
a more flexible discovery system (described in the RFD).

We introduce a new config section:

    discovery:
      base_dn: '*'
      filters:
      - filter1
      - filter2

For now, the only valid value for base_dn is the wildcard, which
instructs Teleport to search from the domain root. Additionally,
teleport will validate that any provided filters are valid but
does not currently respect them when performing the search.

Future updates will allow for changing the base DN to something
more specific and filtering the results with LDAP filters.
2021-10-22 12:22:24 -06:00
Zac Bergquist 2ccd6461af docs: updates for desktop access
- Remove mentions of the "built in admin role" as we no longer create it
- Remove mentions to "beta" and use "preview" instead
- Add troubleshooting step for allowing DNS traffic
- Add a desktop access section to the main docs page

Fixes #8576
2021-10-19 08:22:44 -06:00
Zac Bergquist c4e1dbbdd5 fileconf: change LDAP config from password to password_file
This approach avoids the need to put sensitive credentials in the
teleport config file, which is often shared for examples, testing
and troubleshooting purposes.
2021-10-15 09:36:52 -07:00
Zac Bergquist 01ced111f4 Add RBAC for Windows desktop access (#8520)
* Add RBAC for Windows desktop access

This commit adds RBAC checks for Windows Desktops as described in
RFD 33 and RFD 34:

- add Windows desktop logins & labels to role definition
- introduce new file config for host labels based on a regexp match
- auth server API performs access checking for Windows desktop resources
- add RDP client callback to authorize the user
- support user/role locks
- respect the client idle timeout setting

Note: in cases where an connection is terminated to to RBAC, the web UI
currently displays "websocket connection failed" because the connection
is closed from the server. We'll need to follow up with a nice error
message for the client side to improve the UX here.

Other changes:

* Remove OSS RBAC migration marked for deletion
* Stop creating a default admin role
* add wildcard desktop access to the preset access role

Updates #7761
2021-10-12 14:52:59 -06:00
Andrew LytvynovandIsaiah Becker-Mayer 1c51f28c47 Desktop Access Beta documentation (#8504)
* Desktop Access documentation

First draft of the Desktop Access docs. This is for Beta and has the
warnings on every page to make that clear.

* Apply suggestions from code review

Co-authored-by: Isaiah Becker-Mayer <isaiah@goteleport.com>

Co-authored-by: Isaiah Becker-Mayer <isaiah@goteleport.com>
2021-10-11 15:42:00 -07:00