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

Feat/crud role mapping #1169

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update get_agents_status.py
  • Loading branch information
AlexRuiz7 authored and eze9252 committed Nov 5, 2021
commit b59f9202e506cbeeefdde6473fc74e32bc36b0f4
9 changes: 8 additions & 1 deletion SplunkAppForWazuh/bin/get_agents_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,14 @@


def get_apis():
"""Obtain the list of APIs."""
"""
Obtain the list of APIs.

Returns
-------
string
a JSON string containing the saved APIs information.
"""
try:
logger.debug("bin.get_agents_status: Getting APIs.")
session_key = getSplunkSessionKey()
Expand Down