Skip to content

Commit

Permalink
Docs: remove optn settings for certs and cookiesec
Browse files Browse the repository at this point in the history
  • Loading branch information
ZPain8464 committed Nov 21, 2022
1 parent a82f80f commit 22ed832
Show file tree
Hide file tree
Showing 68 changed files with 5,381 additions and 6,015 deletions.
23 changes: 0 additions & 23 deletions .github/ISSUE_TEMPLATE/PULL_REQUEST_TEMPLATE

This file was deleted.

1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/doc-error.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ about: Report a problem with existing documentation
labels: Fix Content
---


<!--- ** Partial or incorrectly filled out issues may be deferred.--->

Page: https://www.pomerium.com/docs/${page}
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,3 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

package-lock.json
21 changes: 0 additions & 21 deletions content/docs/enterprise/branding.md

This file was deleted.

20 changes: 0 additions & 20 deletions content/docs/enterprise/branding/colors.md

This file was deleted.

28 changes: 0 additions & 28 deletions content/docs/enterprise/branding/error_details.md

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
11 changes: 0 additions & 11 deletions content/docs/enterprise/branding/logo.md

This file was deleted.

12 changes: 5 additions & 7 deletions content/docs/enterprise/external-data/bamboohr.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,11 @@ To create new external data record:

1. Fill out the following fields:

| Field | Content | Notes |
| :---------------- | :----------------------------------------- | :-------------------------------------------------------------------------------- |
| URL | `http://bamboohr:8080/employees/available` | Adjust for the endpoint you'll write policies against. |
| Record type | `pomerium.io/BambooHRAvailable` | As above, adjust to somethinglike pomerium.io/BambooHRAll for the other endpoint. |
| Foreign Key | `user.email` | Pomerium uses the users's email to associate IdP and Bamboo user entries. |
| Polling Min Delay | `30m` | Minimum poll interval |
| Polling Max Delay | `4h` | Maximum poll interval |
| Field | Content | Notes |
| :---------- | :----------------------------------------- | :-------------------------------------------------------------------------------- |
| URL | `http://bamboohr:8080/employees/available` | Adjust for the endpoint you'll write policies against. |
| Record type | `pomerium.io/BambooHRAvailable` | As above, adjust to somethinglike pomerium.io/BambooHRAll for the other endpoint. |
| Foreign Key | `user.email` | Pomerium uses the users's email to associate IdP and Bamboo user entries. |

1. Click **SAVE EXTERNAL DATA SOURCE**.

Expand Down
12 changes: 5 additions & 7 deletions content/docs/enterprise/external-data/geoip.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,11 @@ Create an external data source:

1. Fill out the following fields:

| Field | Content | Notes |
| :---------------- | :-------------------- | :--------------------------------------------------------------------------------------------------- |
| URL | http://localhost:8080 | If you configured the service in Docker Compose with a set container name, you can use that instead. |
| Record type | pomerium.io/GeoIP | |
| Foreign Key | request.ip | |
| Polling Min Delay | `30m` | Minimum poll interval |
| Polling Max Delay | `4h` | Maximum poll interval |
| Field | Content | Notes |
| :---------- | :-------------------- | :--------------------------------------------------------------------------------------------------- |
| URL | http://localhost:8080 | If you configured the service in Docker Compose with a set container name, you can use that instead. |
| Record type | pomerium.io/GeoIP | |
| Foreign Key | request.ip | |

1. Click **SAVE EXTERNAL DATA SOURCE**.

Expand Down
12 changes: 5 additions & 7 deletions content/docs/enterprise/external-data/ip-ranges.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,11 @@ Create an external data source:

1. Fill out the following fields:

| Field | Content | Notes |
| :---------------- | :--------------------------- | :--------------------------------------------------------------------------------------------------- |
| URL | http://localhost:8080 | If you configured the service in Docker Compose with a set container name, you can use that instead. |
| Record type | pomerium.io/WellKnownIPRange | |
| Foreign Key | request.ip | |
| Polling Min Delay | `1h` | Minimum poll interval |
| Polling Max Delay | `4h` | Maximum poll interval |
| Field | Content | Notes |
| :---------- | :--------------------------- | :--------------------------------------------------------------------------------------------------- |
| URL | http://localhost:8080 | If you configured the service in Docker Compose with a set container name, you can use that instead. |
| Record type | pomerium.io/WellKnownIPRange | |
| Foreign Key | request.ip | |

## Configure Pomerium Enterprise Console

Expand Down
12 changes: 5 additions & 7 deletions content/docs/enterprise/external-data/vpn-providers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,11 @@ Create an external data source:

1. Fill out the following fields:

| Field | Content |
| :---------------- | :------------------------------------------------------------------- |
| URL | https://raw.githubusercontent.com/pomerium/vpnlist/main/vpnlist.json |
| Record type | pomerium.io/VPNNode |
| Foreign Key | request.ip |
| Polling Min Delay | `1h` |
| Polling Max Delay | `4h` |
| Field | Content |
| :---------- | :------------------------------------------------------------------- |
| URL | https://raw.githubusercontent.com/pomerium/vpnlist/main/vpnlist.json |
| Record type | pomerium.io/VPNNode |
| Foreign Key | request.ip |

1. Click **SAVE EXTERNAL DATA SOURCE**.

Expand Down
12 changes: 5 additions & 7 deletions content/docs/enterprise/external-data/zenefits.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,11 @@ These instructions assume a local testing environment. Adjust as needed for your

1. Fill out the following fields:

| Field | Content | Notes |
| :---------------- | :------------------------------- | :------------------------------------------------------------------------ |
| URL | `http://zenefits:8080/employees` | Adjust the hostname as needed depending on your local test environment. |
| Record type | `pomerium.io/Zenefits` | |
| Foreign Key | `user.email` | Pomerium uses the users's email to associate IdP and Zenefits user entries. |
| Polling Min Delay | `1h` | Minimum poll interval |
| Polling Max Delay | `4h` | Max poll interval |
| Field | Content | Notes |
| :---------- | :------------------------------- | :------------------------------------------------------------------------ |
| URL | `http://zenefits:8080/employees` | Adjust the hostname as needed depending on your local test environment. |
| Record type | `pomerium.io/Zenefits` | |
| Foreign Key | `user.email` | Pomerium uses the users's email to associate IdP and Zenefits user entries. |

1. Define a new policy. The example policy below only allows persons in the list (i.e. not out of office or on vacation) and in `active` status (i.e. not `terminated` or `onboarding`) to pass.

Expand Down
1 change: 0 additions & 1 deletion content/docs/enterprise/identity-providers/auth0.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: Auth0
sidebar_class_name: enterprise
---

## Setting Up Directory Sync
Expand Down
Binary file not shown.
6 changes: 0 additions & 6 deletions content/docs/enterprise/install/helm.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,6 @@ This setup assumes an existing certificate solution using cert-manager, as descr
image:
pullUsername: pomerium/enterprise
pullPassword: your-access-key
serviceMonitor:
enabled: true
metrics:
enabled: true
```

```

1. The Pomerium repository should already be in your Helm configuration per [Pomerium using Helm]. If not, add it now:
Expand Down
24 changes: 6 additions & 18 deletions content/docs/enterprise/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,24 @@ sidebar_label: Metrics
description: Use Prometheus as a metrics data store.
---

Pomerium Enterprise uses Prometheus as a metrics collection back-end. You can configure Pomerium and the Console to talk to an existing Prometheus server, or configure the embedded Prometheus backend. This guide assumes you're running both Pomerium and Pomerium Enterprise on localhost `127.0.0.1`.
Pomerium Enterprise uses Prometheus as a metrics collection back-end. You can configure Pomerium and the Console to talk to an existing Prometheus server, or configure the embedded Prometheus backend.

:::tip
For production deployments, we suggest using a dedicated Prometheus instance.
:::

## Prepare Pomerium

1. In the Pomerium `pomerium-config.yaml`, define the [`metrics_address`](/docs/reference/metrics-address) key to a network interface and/or port. For example:
1. In the Pomerium `config.yaml`, define the [`metrics_address`](/docs/reference/metrics-address) key to a network interface and/or port. For example:

```yaml title="pomerium-config.yaml"
metrics_address: 127.0.0.1:9091
```yaml title="config.yaml"
metrics_address: 192.0.2.31:9999
```

The example above has Pomerium providing metrics at port `9999` on an IP address reachable by the Pomerium Console service.

If you're running Pomerium Enterprise in a distributed environment where the IP address is not known at the time of deployment, you can use the resolvable FQDN of the Pomerium host (`pomerium0.internal.mycompany.com`, for example), or override this key with the environment variable `METRICS_ADDRESS`. We do not recommend exposing this endpoint to public traffic as it can contain potentially sensitive information.

1. In the Pomerium Enterprise `pomerium-enterprise-config.yaml`, define the `metrics_addr` key to a network interface and/or port. For example:

```yaml title="config.yaml"
metrics_addr: 127.0.0.1:9092
```

## External Prometheus

1. Add the listener to your Prometheus configuration, usually via `prometheus.yml`:
Expand All @@ -37,12 +31,7 @@ For production deployments, we suggest using a dedicated Prometheus instance.
scrape_interval: 30s
scrape_timeout: 5s
static_configs:
- targets: ['127.0.0.1:9901']
- job_name: 'Pomerium Enterprise'
scrape_interval: 30s
scrape_timeout: 5s
static_configs:
- targets: ['127.0.0.1:9902']
- targets: ['192.0.2.10:9999']

```

Expand All @@ -58,10 +47,9 @@ For production deployments, we suggest using a dedicated Prometheus instance.
prometheus_url: http://192.168.122.50:9090
```

2. Restart the Pomerium and Pomerium Enterprise services. You should now see route traffic and External Data Source monitoring data in the Enterprise Console:
1. Restart the Pomerium and Pomerium Enterprise services. You should now see route traffic data in the Enterprise Console:

![Traffic Data in Pomerium Enterprise](img/console-route-traffic.png)
![External Data Source in Pomerium Enterprise](img/console-ext-datasource-monitoring.png)

## Embedded Prometheus

Expand Down
6 changes: 1 addition & 5 deletions content/docs/enterprise/reference/configure.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,11 +273,7 @@ If set, allows the import of external data from sources using untrusted TLS cert

#### Polling Min/Max Delay

Defines the minimum and maximum delay times between requests to the external data source.
The job would be scheduled to run within `min delay` intervals. Note, if a job may not
complete within the `min delay` period, it would be interrupted and restarted. If a job
is interrupted by timeout or due to an error, it would be restarted with increasing
intervals up to the `max delay` period.
Defines the minimum and maximum delay times between requests to the external data source.

#### Client TLS Key

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/docs/install/img/user-details-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 22ed832

Please sign in to comment.