diff --git a/administrator-documentation/on-premise-agent/configure-an-agent-with-pypi-access-visualizations.md b/administrator-documentation/on-premise-agent/configure-an-agent-with-pypi-access-visualizations.md index 40bfffbb..82d2668f 100644 --- a/administrator-documentation/on-premise-agent/configure-an-agent-with-pypi-access-visualizations.md +++ b/administrator-documentation/on-premise-agent/configure-an-agent-with-pypi-access-visualizations.md @@ -18,6 +18,7 @@ You can configure multiple PyPI indexes by including multiple entries, each with {% tab title="OCI Container" %} **Variables:** +* `MODERNE_AGENT_VISUALIZATIONS_USEONLYCONFIGURED` – _(Optional) Only use the visualization sources configured in the agent. Default is false._ * `MODERNE_AGENT_PYPI_{index}_URL` – _The URL of your PyPI package index._ * `MODERNE_AGENT_PYPI_{index}_USERNAME` – _(Optional) The username used to access the index. Defaults to `null`._ * `MODERNE_AGENT_PYPI_{index}_PASSWORD` – _(Optional) The password used to access the index. Defaults to `null`._ @@ -28,6 +29,7 @@ You can configure multiple PyPI indexes by including multiple entries, each with ```shell docker run \ # ... Existing variables +-e MODERNE_AGENT_VISUALIZATIONS_USEONLYCONFIGURED=true \ -e MODERNE_AGENT_PYPI_0_URL=https://pypi.example.com/simple \ -e MODERNE_AGENT_PYPI_0_USERNAME=admin \ -e MODERNE_AGENT_PYPI_0_PASSWORD=password \ @@ -38,8 +40,9 @@ docker run \ {% tab title="Executable JAR" %} **Arguments:** +* `--moderne.agent.visualizations.useOnlyConfigured` _- (Optional) Only use the visualization sources configured in the agent. Default is false._ * `--moderne.agent.pypi[{index}].url` – _The URL of your PyPI package index._ -* `--moderne.agent.`pypi`[{index}].username` –_(Optional) The username used to access the index. Defaults to `null`._ +* `--moderne.agent.`pypi`[{index}].username` – _(Optional) The username used to access the index. Defaults to `null`._ * `--moderne.agent.`pypi`[{index}].password` – _(Optional) The password used to access the index. Defaults to `null`._ * `--moderne.agent.`pypi`[{index}].skipSsl` – _(Optional) Whether or not to skip SSL/TLS verification for calls from the agent to this PyPI package index. This must be set to `true` if you use a self-signed SSL/TLS certificate. Defaults to `false`._ @@ -48,6 +51,7 @@ docker run \ ```shell java -jar moderne-agent-{version}.jar \ # ... Existing arguments +--moderne.agent.visualizations.useOnlyConfigured=true \ --moderne.agent.pypi[0].url=https://pypi.example.com/simple \ --moderne.agent.pypi[0].username=admin \ --moderne.agent.pypi[0].password=password \ diff --git a/how-to/on-premise-agent/agent-variables.md b/how-to/on-premise-agent/agent-variables.md index 9c750e02..2e3c2bdb 100644 --- a/how-to/on-premise-agent/agent-variables.md +++ b/how-to/on-premise-agent/agent-variables.md @@ -491,6 +491,7 @@ You can configure multiple PyPI package indexes by including multiple entries, e {% tab title="OCI Container" %} **Variables:** +* `MODERNE_AGENT_VISUALIZATIONS_USEONLYCONFIGURED` – Only use the visualization sources configured in the agent. Default is false. * `MODERNE_AGENT_PYPI_{index}_URL` – _The URL of your PyPI package index._ * `MODERNE_AGENT_PYPI_{index}_USERNAME` – _(Optional) The username used to access the index. Defaults to `null`._ * `MODERNE_AGENT_PYPI_{index}_PASSWORD` – _(Optional) The password used to access the index. Defaults to `null`._ @@ -501,6 +502,7 @@ You can configure multiple PyPI package indexes by including multiple entries, e ```shell docker run \ # ... Existing variables +-e MODERNE_AGENT_VISUALIZATIONS_USEONLYCONFIGURED=true \ -e MODERNE_AGENT_PYPI_0_URL=https://pypi.example.com/simple \ -e MODERNE_AGENT_PYPI_0_USERNAME=admin \ -e MODERNE_AGENT_PYPI_0_PASSWORD=password \ @@ -511,6 +513,7 @@ docker run \ {% tab title="Executable JAR" %} **Arguments:** +* `--moderne.agent.visualizations.useOnlyConfigured` _- (Optional) Only use the visualization sources configured in the agent. Default is false._ * `--moderne.agent.pypi[{index}].url` – _The URL of your PyPI package index._ * `--moderne.agent.`pypi`[{index}].username` –_(Optional) The username used to access the index. Defaults to `null`._ * `--moderne.agent.`pypi`[{index}].password` – _(Optional) The password used to access the index. Defaults to `null`._ @@ -521,6 +524,7 @@ docker run \ ```shell java -jar moderne-agent-{version}.jar \ # ... Existing arguments +--moderne.agent.visualizations.useOnlyConfigured=true \ --moderne.agent.pypi[0].url=https://pypi.example.com/simple \ --moderne.agent.pypi[0].username=admin \ --moderne.agent.pypi[0].password=password \