Module ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Slice Num ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Str Import alias Assign NameStore Num FunctionDef arguments args defaults body Assign NameStore Call NameLoad If SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad NameLoad attr If CompareEq SubscriptLoad NameLoad Index Str Num body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse If CompareEq SubscriptLoad NameLoad Index Str Num body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse If CompareEq SubscriptLoad NameLoad Index Str Num body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call NameLoad Str NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num If CompareIs SubscriptLoad NameLoad Index Str NameLoad body Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Dict If NameLoad body Pass orelse If SubscriptLoad NameLoad Index Str body Expr Call NameLoad NameLoad NameLoad orelse If SubscriptLoad NameLoad Index Str body Expr Call NameLoad NameLoad NameLoad orelse If SubscriptLoad NameLoad Index Str body Expr Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr orelse If BoolOpAnd SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str body Expr Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr orelse If BoolOpAnd SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str body Expr Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr orelse If SubscriptLoad NameLoad Index Str body Expr Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr orelse If CompareIsNot SubscriptLoad NameLoad Index Str NameLoad body Expr Call NameLoad NameLoad NameLoad orelse If SubscriptLoad NameLoad Index Str body Expr Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr orelse If SubscriptLoad NameLoad Index Str body Expr Call NameLoad NameLoad NameLoad orelse If CompareIsNot SubscriptLoad NameLoad Index Str NameLoad body Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Str Assign NameStore Dict Assign NameStore SubscriptLoad NameLoad Index Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot SubscriptLoad NameLoad Index Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str If CompareIsNot SubscriptLoad NameLoad Index Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str If CompareIsNot SubscriptLoad NameLoad Index Str NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num If CompareIsNot SubscriptLoad NameLoad Index Str NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num TryExcept body For NameStore Call NameLoad keyword NameLoad keyword SubscriptLoad NameLoad Index Str body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad If CompareGt NameLoad Num body Expr Call NameLoad NameLoad NameLoad If CompareLtE NameLoad Num body Expr Call NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad BinOpMod Str NameLoad keyword Str keyword AttributeLoad NameLoad attr Expr Call NameLoad BinOpMod Str NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad BinOpMod Str NameLoad keyword Str keyword AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad BinOpMod Str AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad BinOpMod Str AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If BoolOpAnd NameLoad CompareIsNot NameLoad NameLoad body Expr Call NameLoad BinOpMod Str NameLoad keyword Str keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareIsNot NameLoad NameLoad body Expr Call NameLoad BinOpMod Str NameLoad keyword Str keyword AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body If CompareIn Str AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str keyword Str keyword AttributeLoad NameLoad attr If CompareIn Str AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str keyword Str keyword AttributeLoad NameLoad attr If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call NameLoad BinOpMod Str NameLoad keyword Str keyword AttributeLoad NameLoad attr orelse If CompareIn Str AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str keyword Str keyword AttributeLoad NameLoad attr orelse If CompareIn Str AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str keyword Str keyword AttributeLoad NameLoad attr orelse If CompareIn Str AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str keyword Str keyword AttributeLoad NameLoad attr If CompareIn Str AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str keyword Str keyword AttributeLoad NameLoad attr orelse If CompareIn Str AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str keyword Str keyword AttributeLoad NameLoad attr If BoolOpAnd CompareIn Str AttributeLoad NameLoad attr CompareIsNot SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call NameLoad BinOpMod Str SubscriptLoad Call NameLoad NameLoad Slice Num keyword Str keyword AttributeLoad NameLoad attr If CompareIn Str AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str keyword Str keyword AttributeLoad NameLoad attr Expr Call NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Return If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareIs NameLoad NameLoad body Return If Call AttributeLoad NameLoad attr Str body Expr Call NameLoad AttributeLoad NameLoad attr orelse If Call AttributeLoad NameLoad attr Str body If SubscriptLoad NameLoad Index Str body Expr Call NameLoad AttributeLoad NameLoad attr keyword NameLoad If SubscriptLoad NameLoad Index Str body Expr Call NameLoad AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body If UnaryOpNot CompareLtELt Num AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Num orelse Return Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad keyword Num decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Num keyword TupleLoad Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Str If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse TryExcept body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore ListLoad NameLoad If CompareGt NameLoad Num body Expr Call NameLoad Str NameLoad keyword AttributeLoad NameLoad attr If NameLoad body Assign NameStore ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore NameLoad Return NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Num NameLoad NameLoad Assign NameStore Str Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num For TupleStore NameStore NameStore NameLoad body If NameLoad body Pass orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse If CompareEq NameLoad Str body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Call NameLoad NameLoad orelse If CompareEq NameLoad Str body TryExcept body Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call NameLoad Str NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse If CompareEq NameLoad Str body Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse If CompareEq NameLoad Str body If CompareIn NameLoad ListLoad Str Str body If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse Expr Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Num orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse If CompareEq NameLoad Str body If UnaryOpNot CompareLt SubscriptLoad NameLoad Index Str Num body Expr Call NameLoad Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Global identifier AugAssignAdd NameStore Num Assign SubscriptStore NameLoad Index Str NameLoad orelse If CompareEq NameLoad Str body If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num orelse If CompareEq NameLoad Str body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Num orelse Assert NameLoad BinOpMod Str NameLoad If SubscriptLoad NameLoad Index Str body Assign NameStore Dict For NameStore SubscriptLoad NameLoad Index Str body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num If CompareGt SubscriptLoad NameLoad Index Str Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Str Expr Call NameLoad BinOpMod NameLoad TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad AttributeLoad NameLoad attr attr keyword Str decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A __future__ print_function N/A datetime N/A getopt N/A json N/A logging N/A os N/A pprint N/A sys N/A libpath N/A N/A N/A os path dirname N/A N/A N/A os path abspath __file__ N/A N/A N/A sys path N/A 0 N/A N/A N/A N/A os path join libpath N/A os pardir lib N/A pan.afapi N/A debug 0 main N/A N/A N/A N/A N/A options N/A parse_opts N/A N/A options N/A debug N/A N/A logger N/A N/A logging getLogger N/A N/A N/A options N/A debug 3 N/A N/A N/A N/A logger setLevel N/A N/A pan afapi DEBUG3 N/A N/A N/A N/A options N/A debug 2 N/A N/A N/A N/A logger setLevel N/A N/A pan afapi DEBUG2 N/A N/A N/A N/A options N/A debug 1 N/A N/A N/A N/A logger setLevel N/A N/A pan afapi DEBUG1 N/A log_format %(message)s N/A handler N/A N/A logging StreamHandler N/A formatter N/A N/A logging Formatter log_format N/A N/A N/A handler setFormatter formatter N/A N/A N/A logger addHandler handler N/A N/A N/A afapi N/A N/A N/A pan afapi PanAFapi panrc_tag N/A options N/A panrc_tag api_key N/A options N/A api_key api_version N/A options N/A api_version hostname N/A options N/A hostname timeout N/A options N/A timeout verify_cert N/A options N/A ssl N/A N/A N/A N/A N/A pan afapi PanAFapiError N/A e N/A N/A N/A print pan.afapi.PanAFapi: e file N/A sys stderr N/A N/A N/A sys exit 1 N/A N/A N/A options N/A json_request None N/A N/A N/A options N/A json_request {} N/A N/A options N/A json_request_obj N/A N/A False N/A N/A N/A N/A N/A options N/A export N/A N/A N/A export afapi options N/A N/A N/A options N/A sample_analysis N/A N/A N/A sample_analysis afapi options N/A N/A N/A options N/A samples N/A N/A N/A search_results afapi options N/A afapi samples_search_results N/A N/A N/A N/A options N/A sessions N/A options N/A histogram N/A N/A N/A search_results afapi options N/A afapi sessions_histogram_search_results N/A N/A N/A N/A options N/A sessions N/A options N/A aggregate N/A N/A N/A search_results afapi options N/A afapi sessions_aggregate_search_results N/A N/A N/A options N/A sessions N/A N/A N/A search_results afapi options N/A afapi sessions_search_results N/A N/A N/A N/A options N/A session None N/A N/A N/A session afapi options N/A N/A N/A options N/A top_tags N/A N/A N/A search_results afapi options N/A afapi top_tags_search_results N/A N/A N/A options N/A tags N/A N/A N/A tags afapi options N/A N/A N/A N/A options N/A tag None N/A N/A N/A tag afapi options N/A N/A N/A sys exit 0 N/A export N/A N/A afapi options N/A N/A N/A N/A N/A action export N/A r N/A N/A afapi export data N/A options N/A json_request N/A N/A print_status action r N/A N/A print_response r options N/A N/A exit_for_http_status r N/A N/A N/A N/A N/A pan afapi PanAFapiError N/A e N/A N/A N/A print_exception action e N/A N/A N/A sys exit 1 N/A sample_analysis N/A N/A afapi options N/A N/A N/A N/A N/A action sample-analysis N/A r N/A N/A afapi sample_analysis data N/A options N/A json_request sampleid N/A options N/A hash N/A N/A print_status action r N/A N/A print_response r options N/A N/A exit_for_http_status r N/A N/A N/A N/A N/A pan afapi PanAFapiError N/A e N/A N/A N/A print_exception action e N/A N/A N/A sys exit 1 N/A tag N/A N/A afapi options N/A N/A N/A N/A N/A action tag N/A r N/A N/A afapi tag tagname N/A options N/A tag N/A N/A print_status action r N/A N/A print_response r options N/A N/A exit_for_http_status r N/A N/A N/A N/A N/A pan afapi PanAFapiError N/A e N/A N/A N/A print_exception action e N/A N/A N/A sys exit 1 N/A tags N/A N/A afapi options N/A N/A N/A N/A N/A action tags N/A query N/A N/A request N/A options N/A json_request N/A N/A N/A obj N/A N/A json loads request N/A N/A N/A options N/A num_results None N/A N/A N/A obj N/A pageSize N/A options N/A num_results N/A N/A N/A options N/A scope None N/A N/A N/A obj N/A scope N/A options N/A scope N/A request N/A N/A json dumps obj N/A N/A N/A ValueError N/A e N/A N/A N/A print e file N/A sys stderr N/A N/A N/A sys exit 1 N/A r N/A N/A afapi tags data request N/A N/A print_status action r N/A N/A print_response r options N/A N/A exit_for_http_status r N/A N/A N/A N/A N/A pan afapi PanAFapiError N/A e N/A N/A N/A print_exception action e N/A N/A N/A sys exit 1 N/A session N/A N/A afapi options N/A N/A N/A N/A N/A action session N/A r N/A N/A afapi session sessionid N/A options N/A session N/A N/A print_status action r N/A N/A print_response r options N/A N/A exit_for_http_status r N/A N/A N/A N/A N/A pan afapi PanAFapiError N/A e N/A N/A N/A print_exception action e N/A N/A N/A sys exit 1 N/A search_results N/A N/A afapi options search N/A N/A N/A request N/A options N/A json_request N/A N/A N/A options N/A num_results None N/A N/A N/A N/A obj N/A N/A json loads request N/A N/A obj N/A size N/A options N/A num_results N/A request N/A N/A json dumps obj N/A N/A N/A ValueError N/A e N/A N/A N/A print e file N/A sys stderr N/A N/A N/A sys exit 1 N/A N/A N/A options N/A scope None N/A N/A N/A N/A obj N/A N/A json loads request N/A N/A obj N/A scope N/A options N/A scope N/A request N/A N/A json dumps obj N/A N/A N/A ValueError N/A e N/A N/A N/A print e file N/A sys stderr N/A N/A N/A sys exit 1 N/A N/A N/A r N/A search data request terminal N/A options N/A terminal N/A N/A N/A print_status N/A r name r N/A N/A debug 2 N/A N/A N/A print_response r options N/A N/A debug 2 N/A N/A N/A print_response r options N/A N/A N/A N/A N/A pan afapi PanAFapiError N/A e N/A N/A N/A print_exception N/A search __name__ e N/A N/A N/A sys exit 1 N/A print_exception N/A N/A action e N/A N/A N/A N/A print N/A %s: action end file N/A sys stderr N/A N/A print N/A  "%s" e file N/A sys stderr N/A print_status N/A N/A action r N/A N/A N/A N/A print N/A %s: action end file N/A sys stderr N/A N/A N/A r http_code None N/A N/A N/A print N/A  %s N/A r http_code end file N/A sys stderr N/A N/A N/A r http_reason None N/A N/A N/A print N/A  %s N/A r http_reason end file N/A sys stderr N/A N/A N/A r http_headers None N/A N/A content_type N/A N/A N/A r http_headers get content-type N/A N/A False N/A content_type None N/A N/A N/A print N/A  %s content_type end file N/A sys stderr N/A length N/A N/A N/A r http_headers get content-length N/A N/A length None N/A N/A N/A print N/A  %s length end file N/A sys stderr N/A N/A N/A r json None N/A N/A N/A message N/A r json N/A N/A N/A print N/A  "%s" N/A N/A r json N/A message end file N/A sys stderr N/A N/A af_complete_percentage N/A r json N/A N/A N/A print N/A  %s%% N/A N/A r json N/A af_complete_percentage end file N/A sys stderr N/A N/A hits N/A r json N/A N/A hits N/A len N/A N/A r json N/A hits N/A N/A print N/A  hits=%d hits end file N/A sys stderr N/A N/A N/A tags N/A r json N/A N/A N/A print N/A  tags=%d N/A len N/A N/A r json N/A tags end file N/A sys stderr N/A N/A N/A top_tags N/A r json N/A N/A N/A print N/A  top_tags=%d N/A len N/A N/A r json N/A top_tags end file N/A sys stderr N/A N/A N/A export_list N/A r json N/A N/A N/A print N/A  export_list=%d N/A len N/A N/A r json N/A export_list end file N/A sys stderr N/A N/A total N/A r json N/A N/A N/A print N/A  total=%d N/A N/A r json N/A total end file N/A sys stderr N/A N/A N/A total_count N/A r json N/A N/A N/A print N/A  total_count=%d N/A N/A r json N/A total_count end file N/A sys stderr N/A N/A N/A took N/A r json N/A N/A N/A r json N/A took None N/A N/A d N/A N/A datetime timedelta milliseconds N/A N/A r json N/A took N/A N/A print N/A  time=%s N/A N/A str d N/A -3 end file N/A sys stderr N/A N/A af_message N/A r json N/A N/A N/A print N/A  "%s" N/A N/A r json N/A af_message end file N/A sys stderr N/A N/A print file N/A sys stderr N/A print_response N/A N/A r options N/A N/A N/A N/A N/A r http_text None N/A N/A N/A N/A N/A r http_headers None N/A N/A x N/A N/A N/A r http_headers get content-type N/A N/A x None N/A N/A N/A N/A N/A x startswith text/html N/A N/A N/A print N/A r http_text N/A N/A N/A N/A x startswith application/json N/A N/A N/A options N/A print_json N/A N/A N/A print_json N/A r http_text isjson True N/A N/A options N/A print_python N/A N/A N/A print_python N/A r http_text isjson True N/A exit_for_http_status N/A N/A r N/A N/A N/A N/A N/A r http_code None N/A N/A N/A N/A 200 N/A r http_code 300 N/A N/A N/A N/A sys exit 1 N/A N/A N/A N/A N/A sys exit 1 N/A print_python N/A N/A obj isjson N/A False N/A N/A isjson N/A N/A N/A N/A obj N/A N/A json loads obj N/A N/A N/A ValueError N/A e N/A N/A N/A print e file N/A sys stderr N/A N/A print obj file N/A sys stderr N/A N/A N/A sys exit 1 N/A N/A print N/A N/A pprint pformat obj indent 4 N/A print_json N/A N/A obj isjson N/A False N/A N/A isjson N/A N/A N/A N/A obj N/A N/A json loads obj N/A N/A N/A ValueError N/A e N/A N/A N/A print e file N/A sys stderr N/A N/A print obj file N/A sys stderr N/A N/A N/A sys exit 1 N/A N/A print N/A N/A json dumps obj sort_keys True indent 4 separators N/A , :  N/A process_arg N/A N/A s list N/A False N/A N/A stdin_char - N/A N/A s stdin_char N/A N/A lines N/A N/A N/A sys stdin readlines N/A N/A N/A N/A f N/A open s N/A lines N/A N/A f readlines N/A N/A N/A f close N/A N/A N/A IOError N/A N/A lines N/A s N/A N/A debug 1 N/A N/A N/A print lines: lines file N/A sys stderr N/A list N/A N/A l N/A N/A N/A x rstrip N/A x lines N/A l N/A lines N/A N/A join lines N/A lines N/A parse_opts N/A N/A N/A N/A N/A options N/A sessions aggregate histogram session samples sample_analysis top_tags tags tag export json_requests json_request json_request_obj num_results scope hash terminal api_key api_version hostname ssl print_python print_json debug panrc_tag timeout False False False None False False False False None False N/A None None None None None False None None None True False False 0 None None N/A short_options AHK:V:h:pjHDt:T:r:n: N/A long_options N/A sessions session= samples sample-analysis top-tags tags tag= export scope= hash= terminal ssl= version help N/A N/A N/A N/A opts args N/A N/A getopt getopt N/A N/A sys argv N/A 1 short_options long_options N/A N/A N/A N/A getopt GetoptError N/A error N/A N/A N/A print error file N/A sys stderr N/A N/A N/A sys exit 1 N/A N/A opt arg opts N/A N/A False N/A N/A N/A N/A N/A opt --sessions N/A N/A N/A options N/A sessions True N/A N/A N/A opt -A N/A N/A N/A options N/A aggregate True N/A N/A N/A opt -H N/A N/A N/A options N/A histogram True N/A N/A N/A opt --session N/A N/A N/A options N/A session arg N/A N/A N/A opt --samples N/A N/A N/A options N/A samples True N/A N/A N/A opt --sample-analysis N/A N/A N/A options N/A sample_analysis True N/A N/A N/A opt --top-tags N/A N/A N/A options N/A top_tags True N/A N/A N/A opt --tags N/A N/A N/A options N/A tags True N/A N/A N/A opt --tag N/A N/A N/A options N/A tag arg N/A N/A N/A opt --export N/A N/A N/A options N/A export True N/A N/A N/A opt -r N/A N/A N/A N/A N/A options N/A json_requests append N/A process_arg arg N/A N/A N/A opt -n N/A N/A N/A N/A N/A options N/A num_results N/A int arg N/A N/A N/A ValueError N/A N/A N/A print Invalid num: arg file N/A sys stderr N/A N/A N/A sys exit 1 N/A N/A N/A opt --scope N/A N/A N/A options N/A scope arg N/A N/A N/A opt --hash N/A N/A x N/A process_arg arg N/A N/A options N/A hash N/A N/A x rstrip N/A N/A N/A opt --terminal N/A N/A N/A options N/A terminal True N/A N/A N/A opt -K N/A N/A N/A options N/A api_key arg N/A N/A N/A opt -V N/A N/A N/A options N/A api_version arg N/A N/A N/A opt -h N/A N/A N/A options N/A hostname arg N/A N/A N/A opt --ssl N/A N/A N/A arg N/A verify noverify N/A N/A N/A arg noverify N/A N/A N/A options N/A ssl False N/A N/A N/A arg verify N/A N/A N/A options N/A ssl True N/A N/A N/A print Invalid --ssl option: arg N/A N/A N/A sys exit 1 N/A N/A N/A opt -p N/A N/A N/A options N/A print_python True N/A N/A N/A opt -j N/A N/A N/A options N/A print_json True N/A N/A N/A opt -D N/A N/A N/A N/A N/A options N/A debug 3 N/A N/A N/A print Maximum debug level is 3 file N/A sys stderr N/A N/A N/A sys exit 1 N/A debug N/A debug 1 N/A N/A options N/A debug debug N/A N/A N/A opt -t N/A N/A arg N/A N/A N/A options N/A panrc_tag arg N/A N/A N/A opt -T N/A N/A N/A options N/A timeout arg N/A N/A N/A opt --version N/A N/A N/A print pan-python N/A N/A pan afapi __version__ N/A N/A N/A sys exit 0 N/A N/A N/A opt --help N/A N/A N/A usage N/A N/A N/A sys exit 0 N/A N/A False N/A unhandled option %s opt N/A N/A options N/A json_requests N/A N/A obj N/A N/A r N/A options N/A json_requests N/A N/A N/A N/A x N/A N/A json loads r N/A N/A N/A ValueError N/A e N/A N/A N/A print N/A %s: %s N/A e r file N/A sys stderr N/A N/A N/A sys exit 1 N/A N/A N/A obj update x N/A N/A N/A N/A options N/A json_request N/A N/A json dumps obj N/A N/A options N/A json_request_obj obj N/A N/A N/A ValueError N/A e N/A N/A N/A print e file N/A sys stderr N/A N/A N/A sys exit 1 N/A N/A N/A options N/A debug 2 N/A N/A s N/A N/A pprint pformat options indent 4 N/A N/A print s file N/A sys stderr N/A options N/A usage N/A N/A N/A N/A N/A usage %s [options]
    --sessions            search AutoFocus sessions
    -A                    get aggregate of sessions
    -H                    get histogram of sessions
    --session id          get AutoFocus session
    --samples             search AutoFocus samples
    --sample-analysis     get AutoFocus sample analysis report
    --top-tags            search AutoFocus top tags
    --tags                search AutoFocus tags
    --tag name            get AutoFocus tag
    --export              export AutoFocus list
    -r json               JSON API request (multiple -r's allowed)
    -n num                request num results
    --scope scope         search scope
    --hash hash           sample hash
    --terminal            get only final search result
    -t tag                .panrc tagname
    -K api_key            AutoFocus API key
    -V api_version        AutoFocus API version (default %s)
    -h hostname           AutoFocus hostname
    -p                    print response in Python to stdout
    -j                    print response in JSON to stdout
    -D                    enable debug (multiple up to -DDD)
    --ssl opt             SSL verify option: verify|noverify
    -T seconds            HTTP connect timeout
    --version             display version
    --help                display usage
 N/A N/A print N/A usage N/A N/A N/A N/A os path basename N/A N/A sys argv N/A 0 N/A N/A pan afapi DEFAULT_API_VERSION end N/A N/A N/A __name__ __main__ N/A N/A N/A main