Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete create_user.py script #1274

Merged
merged 1 commit into from
Mar 25, 2024
Merged

Delete create_user.py script #1274

merged 1 commit into from
Mar 25, 2024

Conversation

vcerenu
Copy link
Member

@vcerenu vcerenu commented Mar 22, 2024

@vcerenu vcerenu requested a review from a team March 22, 2024 11:53
@vcerenu vcerenu self-assigned this Mar 22, 2024
@vcerenu
Copy link
Member Author

vcerenu commented Mar 22, 2024

File deleted after start:

bash-5.2# ls -ltr /var/ossec/framework/scripts/
total 80
-rw-r----- 1 root wazuh 17601 Mar 12 13:05 wazuh_logtest.py
-rw-r----- 1 root wazuh 11155 Mar 12 13:05 wazuh_clusterd.py
-rw-r----- 1 root wazuh  4080 Mar 12 13:05 rbac_control.py
-rw-r----- 1 root wazuh 13099 Mar 12 13:05 cluster_control.py
-rw-r----- 1 root wazuh  8602 Mar 12 13:05 agent_upgrade.py
-rw-r----- 1 root wazuh 13964 Mar 12 13:05 agent_groups.py
-rw-r----- 1 root wazuh     0 Mar 12 13:05 __init__.py
bash-5.2# 

Change API password test:

$ API_USER=wazuh-wui
$ API_PASSWORD=NewPassMyS3cr37P450r.*-
$ TOKEN=$(curl -u $API_USER:$API_PASSWORD -k -X GET "https://0.0.0.0:55000/security/user/authenticate?raw=true")
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   404  100   404    0     0   1083      0 --:--:-- --:--:-- --:--:--  1083
$ curl -k -X GET "https://0.0.0.0:55000/agents/outdated?pretty=true" -H "Authorization: Bearer $TOKEN"
{
   "data": {
      "affected_items": [],
      "total_affected_items": 0,
      "total_failed_items": 0,
      "failed_items": []
   },
   "message": "No agent information was returned",
   "error": 0
}$ 

@vcerenu vcerenu linked an issue Mar 22, 2024 that may be closed by this pull request
4 tasks
@teddytpc1 teddytpc1 merged commit 1265311 into 4.9.0 Mar 25, 2024
4 of 5 checks passed
@teddytpc1 teddytpc1 deleted the 513-delete-create-user branch March 25, 2024 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support new stage RC 2 for 4.7.3 in wazuh-docker repository
2 participants