forked from wazuh/wazuh-docker
Restore API variables on test and delete docs references
This commit is contained in:
@@ -96,6 +96,8 @@ jobs:
|
|||||||
INDEXER_USERNAME: admin
|
INDEXER_USERNAME: admin
|
||||||
INDEXER_PASSWORD: admin
|
INDEXER_PASSWORD: admin
|
||||||
MANAGER_NODES: "manager"
|
MANAGER_NODES: "manager"
|
||||||
|
API_USERNAME: wazuh-wui
|
||||||
|
API_PASSWORD: wazuh-wui
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
@@ -367,6 +369,8 @@ jobs:
|
|||||||
INDEXER_USERNAME: admin
|
INDEXER_USERNAME: admin
|
||||||
INDEXER_PASSWORD: admin
|
INDEXER_PASSWORD: admin
|
||||||
MANAGER_NODES: "master,worker01"
|
MANAGER_NODES: "master,worker01"
|
||||||
|
API_USERNAME: wazuh-wui
|
||||||
|
API_PASSWORD: wazuh-wui
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
|
|||||||
@@ -33,7 +33,6 @@ environment:
|
|||||||
- `INDEXER_USERNAME` / `INDEXER_PASSWORD`: Credentials for accessing the Wazuh Indexer with `admin` user or a user with the same permissions.
|
- `INDEXER_USERNAME` / `INDEXER_PASSWORD`: Credentials for accessing the Wazuh Indexer with `admin` user or a user with the same permissions.
|
||||||
- `WAZUH_API_URL`: URL of the Wazuh API, used by other services for communication.
|
- `WAZUH_API_URL`: URL of the Wazuh API, used by other services for communication.
|
||||||
- `DASHBOARD_USERNAME` / `DASHBOARD_PASSWORD`: Credentials for the Wazuh Dashboard to authenticate with the Indexer.
|
- `DASHBOARD_USERNAME` / `DASHBOARD_PASSWORD`: Credentials for the Wazuh Dashboard to authenticate with the Indexer.
|
||||||
- `API_USERNAME` / `API_PASSWORD`: Credentials for the Wazuh API user, utilized by the Dashboard for API interactions.
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -83,11 +82,8 @@ The Wazuh Agent container uses the following environment variables to dynamicall
|
|||||||
```yaml
|
```yaml
|
||||||
environment:
|
environment:
|
||||||
- WAZUH_MANAGER_SERVER=wazuh.manager
|
- WAZUH_MANAGER_SERVER=wazuh.manager
|
||||||
- WAZUH_MANAGER_PORT=1514
|
|
||||||
- WAZUH_REGISTRATION_SERVER=wazuh.manager
|
- WAZUH_REGISTRATION_SERVER=wazuh.manager
|
||||||
- WAZUH_REGISTRATION_PORT=1515
|
|
||||||
- WAZUH_AGENT_NAME=my-agent
|
- WAZUH_AGENT_NAME=my-agent
|
||||||
- WAZUH_REGISTRATION_PASSWORD=StrongPassword
|
|
||||||
```
|
```
|
||||||
|
|
||||||
These variables are used by the `set_manager_conn()` function in the entrypoint script to replace placeholder values in `ossec.conf` and set the enrollment password.
|
These variables are used by the `set_manager_conn()` function in the entrypoint script to replace placeholder values in `ossec.conf` and set the enrollment password.
|
||||||
|
|||||||
Reference in New Issue
Block a user