File: pgsql.rst

package info (click to toggle)
suricata 1%3A8.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 240,704 kB
  • sloc: ansic: 357,736; python: 8,721; sh: 5,043; makefile: 2,411; perl: 570; php: 170
file content (171 lines) | stat: -rw-r--r-- 9,151 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
Top Level (object)
^^^^^^^^^^^^^^^^^^
.. table::
   :width: 100%
   :widths: 30 25 45

   ======== ======= ===========
   Name     Type    Description
   ======== ======= ===========
   request  object             
   response object             
   tx_id    integer            
   ======== ======= ===========

response (object)
^^^^^^^^^^^^^^^^^
.. table::
   :width: 100%
   :widths: 30 25 45

   =========================== ================ ==============================================
   Name                        Type             Description                                   
   =========================== ================ ==============================================
   authentication_md5_password string                                                         
   authentication_sasl_final   string                                                         
   code                        string                                                         
   command_completed           string                                                         
   copy_data_out               object           CopyData message from CopyOut mode            
   copy_in_response            object           Backend/server response accepting CopyIn mode 
   copy_out_response           object           Backend/server response accepting CopyOut mode
   data_rows                   integer                                                        
   data_size                   integer                                                        
   field_count                 integer                                                        
   file                        string                                                         
   line                        string                                                         
   message                     string                                                         
   parameter_status            array of objects                                               
   process_id                  integer                                                        
   routine                     string                                                         
   secret_key                  integer                                                        
   severity_localizable        string                                                         
   severity_non_localizable    string                                                         
   ssl_accepted                boolean                                                        
   =========================== ================ ==============================================

response.parameter_status (array of objects)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. table::
   :width: 100%
   :widths: 30 25 45

   =========================== ====== ===========
   Name                        Type   Description
   =========================== ====== ===========
   application_name            string            
   client_encoding             string            
   date_style                  string            
   integer_datetimes           string            
   interval_style              string            
   is_superuser                string            
   server_encoding             string            
   server_version              string            
   session_authorization       string            
   standard_conforming_strings string            
   time_zone                   string            
   =========================== ====== ===========

response.copy_out_response (object)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. table::
   :width: 100%
   :widths: 30 25 45

   ======= ======= =============================================================
   Name    Type    Description                                                  
   ======= ======= =============================================================
   columns integer Number of columns that will be copied in the CopyData message
   ======= ======= =============================================================

response.copy_in_response (object)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. table::
   :width: 100%
   :widths: 30 25 45

   ======= ======= =============================================================
   Name    Type    Description                                                  
   ======= ======= =============================================================
   columns integer Number of columns that will be copied in the CopyData message
   ======= ======= =============================================================

response.copy_data_out (object)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. table::
   :width: 100%
   :widths: 30 25 45

   ========= ======= ===================================================
   Name      Type    Description                                        
   ========= ======= ===================================================
   data_size integer Accumulated data size of all CopyData messages sent
   row_count integer Number of rows sent in CopyData messages           
   ========= ======= ===================================================

request (object)
^^^^^^^^^^^^^^^^
.. table::
   :width: 100%
   :widths: 30 25 45

   ============================= ======= ====================================================================================
   Name                          Type    Description                                                                         
   ============================= ======= ====================================================================================
   copy_data_in                  object  CopyData message from CopyIn mode                                                   
   message                       string                                                                                      
   password                      string                                                                                      
   password_redacted             boolean Indicates if a password message was received but not logged due to Suricata settings
   process_id                    integer                                                                                     
   protocol_version              string                                                                                      
   sasl_authentication_mechanism string                                                                                      
   sasl_param                    string                                                                                      
   sasl_response                 string                                                                                      
   secret_key                    integer                                                                                     
   simple_query                  string                                                                                      
   startup_parameters            object                                                                                      
   ============================= ======= ====================================================================================

request.startup_parameters (object)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. table::
   :width: 100%
   :widths: 30 25 45

   =================== ================ ===========
   Name                Type             Description
   =================== ================ ===========
   optional_parameters array of objects            
   user                string                      
   =================== ================ ===========

request.startup_parameters.optional_parameters (array of objects)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. table::
   :width: 100%
   :widths: 30 25 45

   ================== ====== ===========
   Name               Type   Description
   ================== ====== ===========
   application_name   string            
   client_encoding    string            
   database           string            
   datestyle          string            
   extra_float_digits string            
   options            string            
   replication        string            
   ================== ====== ===========

request.copy_data_in (object)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. table::
   :width: 100%
   :widths: 30 25 45

   ========= ======= ===============================================================================================
   Name      Type    Description                                                                                    
   ========= ======= ===============================================================================================
   data_size integer Accumulated data size of all CopyData messages sent                                            
   msg_count integer How many CopyData messages were sent (does not necessarily match number of rows from the query)
   ========= ======= ===============================================================================================