Skip to content

Commit

Permalink
Add endpoint response (#4934)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tostti authored Dec 14, 2022
1 parent 5dba6f4 commit be03e6a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
10 changes: 10 additions & 0 deletions docker/imposter/agents/summary_status.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"data": {
"active": 3,
"disconnected": 1,
"never_connected": 0,
"pending": 0,
"total": 4
},
"error": 0
}
4 changes: 3 additions & 1 deletion docker/imposter/wazuh-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,9 @@ resources:
# Summarize agents status
- method: GET
path: /agents/summary/status

response:
statusCode: 200
staticFile: agents/summary_status.json
# ===================================================== #
# CISCAT
# ===================================================== #
Expand Down

0 comments on commit be03e6a

Please sign in to comment.