Security Event Reporting Data Structures. More...
#include "asterisk/network.h"
Go to the source code of this file.
Data Structures | |
struct | ast_security_event_auth_method_not_allowed |
Auth method used not allowed. More... | |
struct | ast_security_event_chal_resp_failed |
An attempt at challenge/response auth failed. More... | |
struct | ast_security_event_common |
Common structure elements. More... | |
struct | ast_security_event_failed_acl |
Checking against an IP access control list failed. More... | |
struct | ast_security_event_inval_acct_id |
Invalid account ID specified (invalid username, for example) More... | |
struct | ast_security_event_inval_password |
An attempt at basic password auth failed. More... | |
struct | ast_security_event_ipv4_addr |
struct | ast_security_event_load_avg |
Request denied because of a load average limit. More... | |
struct | ast_security_event_mem_limit |
Request denied because of a memory limit. More... | |
struct | ast_security_event_req_bad_format |
Invalid formatting of request. More... | |
struct | ast_security_event_req_no_support |
Request denied because we don't support it. More... | |
struct | ast_security_event_req_not_allowed |
Request denied because it's not allowed. More... | |
struct | ast_security_event_session_limit |
Request denied because of a session limit. More... | |
struct | ast_security_event_successful_auth |
Successful authentication. More... | |
struct | ast_security_event_unexpected_addr |
Unexpected source address for a session in progress. More... | |
Security Event Reporting Data Structures.
Definition in file security_events_defs.h.
#define AST_SEC_EVT | ( | e | ) | ((struct ast_security_event_common *) e) |
Definition at line 142 of file security_events_defs.h.
Referenced by report_auth_success(), report_failed_acl(), report_failed_challenge_response(), report_inval_password(), report_invalid_user(), report_req_bad_format(), report_req_not_allowed(), and report_session_limit().
#define AST_SECURITY_EVENT_AUTH_METHOD_NOT_ALLOWED_VERSION 1 |
Event descriptor version.
Definition at line 343 of file security_events_defs.h.
#define AST_SECURITY_EVENT_CHAL_RESP_FAILED_VERSION 1 |
Event descriptor version.
Definition at line 427 of file security_events_defs.h.
Referenced by report_failed_challenge_response().
#define AST_SECURITY_EVENT_FAILED_ACL_VERSION 1 |
Event descriptor version.
Definition at line 211 of file security_events_defs.h.
Referenced by report_failed_acl().
#define AST_SECURITY_EVENT_INVAL_ACCT_ID_VERSION 1 |
Event descriptor version.
Definition at line 232 of file security_events_defs.h.
Referenced by report_invalid_user().
#define AST_SECURITY_EVENT_INVAL_PASSWORD_VERSION 1 |
Event descriptor version.
Definition at line 458 of file security_events_defs.h.
Referenced by report_inval_password().
#define AST_SECURITY_EVENT_LOAD_AVG_VERSION 1 |
Event descriptor version.
Definition at line 280 of file security_events_defs.h.
#define AST_SECURITY_EVENT_MEM_LIMIT_VERSION 1 |
Event descriptor version.
Definition at line 264 of file security_events_defs.h.
#define AST_SECURITY_EVENT_REQ_BAD_FORMAT_VERSION 1 |
Event descriptor version.
Definition at line 364 of file security_events_defs.h.
Referenced by report_req_bad_format().
#define AST_SECURITY_EVENT_REQ_NO_SUPPORT_VERSION 1 |
Event descriptor version.
Definition at line 296 of file security_events_defs.h.
#define AST_SECURITY_EVENT_REQ_NOT_ALLOWED_VERSION 1 |
Event descriptor version.
Definition at line 317 of file security_events_defs.h.
Referenced by report_req_not_allowed().
#define AST_SECURITY_EVENT_SESSION_LIMIT_VERSION 1 |
Event descriptor version.
Definition at line 248 of file security_events_defs.h.
Referenced by report_session_limit().
#define AST_SECURITY_EVENT_SUCCESSFUL_AUTH_VERSION 1 |
Event descriptor version.
Definition at line 390 of file security_events_defs.h.
Referenced by report_auth_success().
#define AST_SECURITY_EVENT_UNEXPECTED_ADDR_VERSION 1 |
Event descriptor version.
Definition at line 406 of file security_events_defs.h.
the severity of a security event
This is defined as a bit field to make it easy for consumers of the API to subscribe to any combination of the defined severity levels.
XXX
Enumerator | |
---|---|
AST_SECURITY_EVENT_SEVERITY_INFO |
Informational event, not something that has gone wrong. |
AST_SECURITY_EVENT_SEVERITY_ERROR |
Something has gone wrong. |
Definition at line 126 of file security_events_defs.h.
Transport types.
Enumerator | |
---|---|
AST_SECURITY_EVENT_TRANSPORT_UDP | |
AST_SECURITY_EVENT_TRANSPORT_TCP | |
AST_SECURITY_EVENT_TRANSPORT_TLS |
Definition at line 136 of file security_events_defs.h.
Security event types.
AST_EVENT_SECURITY is the event type of an ast_event generated as a security event. The event will have an information element of type AST_EVENT_IE_SECURITY_EVENT which identifies the security event sub-type. This enum defines the possible values for this sub-type.
Definition at line 44 of file security_events_defs.h.