Represents the structure of the session response from the PAN-OS API. Contains the status of the request and the result with session entries.

interface SessionResponse {
    response: {
        result: {
            entry: SessionEntry | SessionEntry[];
        };
        status: string;
    };
}

Properties

Properties

response: {
    result: {
        entry: SessionEntry | SessionEntry[];
    };
    status: string;
}

Contains the status of the request and the result payload with session entries.

Type declaration

  • result: {
        entry: SessionEntry | SessionEntry[];
    }

    The parent element containing the session entries.

    • entry: SessionEntry | SessionEntry[]

      Either a single SessionEntry object or an array of SessionEntry objects. This reflects the possibility of receiving one or many session entries from the API.

  • status: string

    Indicates if the request to fetch session information was successful ('success') or not ('error').

Generated using TypeDoc