|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<databaseChangeLog |
| 3 | + xmlns="http://www.liquibase.org/xml/ns/dbchangelog" |
| 4 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 5 | + xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd"> |
| 6 | + |
| 7 | + <changeSet id="20260107002" author="Manuel"> |
| 8 | + <sql dbms="postgresql" splitStatements="true" stripComments="true"> |
| 9 | + <![CDATA[ |
| 10 | +
|
| 11 | + UPDATE public.utm_logstash_filter |
| 12 | + SET logstash_filter='# AWS filter, version 1.0.3 |
| 13 | +
|
| 14 | +pipeline: |
| 15 | + - dataTypes: |
| 16 | + - aws |
| 17 | + steps: |
| 18 | + - json: |
| 19 | + source: raw |
| 20 | +
|
| 21 | + - rename: |
| 22 | + from: |
| 23 | + - log.userIdentity.accessKeyId |
| 24 | + to: log.userIdentityAccessKeyId |
| 25 | +
|
| 26 | + - rename: |
| 27 | + from: |
| 28 | + - log.userIdentity.accountId |
| 29 | + to: log.userIdentityAccountId |
| 30 | +
|
| 31 | + - rename: |
| 32 | + from: |
| 33 | + - log.userIdentity.arn |
| 34 | + to: log.userIdentityArn |
| 35 | +
|
| 36 | + - rename: |
| 37 | + from: |
| 38 | + - log.userIdentity.invokedBy |
| 39 | + to: log.userIdentityInvokedBy |
| 40 | +
|
| 41 | + - rename: |
| 42 | + from: |
| 43 | + - log.userIdentity.principalId |
| 44 | + to: log.userIdentityPrincipalId |
| 45 | +
|
| 46 | + - rename: |
| 47 | + from: |
| 48 | + - log.userIdentity.sessionContext.attributes.creationDate |
| 49 | + to: log.userIdentitySessionContextAttributesCreationDate |
| 50 | +
|
| 51 | + - rename: |
| 52 | + from: |
| 53 | + - log.userIdentity.sessionContext.attributes.mfaAuthenticated |
| 54 | + to: log.userIdentitySessionContextAttributesMfaAuthenticated |
| 55 | +
|
| 56 | + - rename: |
| 57 | + from: |
| 58 | + - log.userIdentity.sessionContext.sessionIssuer.accountId |
| 59 | + to: log.userIdentitySessionContextSessionIssuerAccountId |
| 60 | +
|
| 61 | + - rename: |
| 62 | + from: |
| 63 | + - log.userIdentity.sessionContext.sessionIssuer.arn |
| 64 | + to: log.userIdentitySessionContextSessionIssuerArn |
| 65 | +
|
| 66 | + - rename: |
| 67 | + from: |
| 68 | + - log.userIdentity.sessionContext.sessionIssuer.principalId |
| 69 | + to: log.userIdentitySessionContextSessionIssuerPrincipalId |
| 70 | +
|
| 71 | + - rename: |
| 72 | + from: |
| 73 | + - log.userIdentity.sessionContext.sessionIssuer.type |
| 74 | + to: log.userIdentitySessionContextSessionIssuerType |
| 75 | +
|
| 76 | + - rename: |
| 77 | + from: |
| 78 | + - log.userIdentity.sessionContext.sessionIssuer.userName |
| 79 | + to: log.userIdentitySessionContextSessionIssuerUserName |
| 80 | +
|
| 81 | + - rename: |
| 82 | + from: |
| 83 | + - log.userIdentity.sessionContext.webIdFederationData |
| 84 | + to: log.userIdentitySessionContextWebIdFederationData |
| 85 | +
|
| 86 | + - rename: |
| 87 | + from: |
| 88 | + - log.userIdentity.type |
| 89 | + to: log.userIdentityType |
| 90 | +
|
| 91 | + - rename: |
| 92 | + from: |
| 93 | + - log.requestParameters.durationSeconds |
| 94 | + to: log.requestParametersDurationSeconds |
| 95 | +
|
| 96 | + - rename: |
| 97 | + from: |
| 98 | + - log.requestParameters.roleArn |
| 99 | + to: log.requestParametersRoleArn |
| 100 | +
|
| 101 | + - rename: |
| 102 | + from: |
| 103 | + - log.requestParameters.roleSessionName |
| 104 | + to: log.requestParametersRoleSessionName |
| 105 | +
|
| 106 | + - rename: |
| 107 | + from: |
| 108 | + - log.responseElements.assumedRoleUser.arn |
| 109 | + to: log.responseElementsAssumedRoleUserArn |
| 110 | +
|
| 111 | + - rename: |
| 112 | + from: |
| 113 | + - log.responseElements.assumedRoleUser.assumedRoleId |
| 114 | + to: log.responseElementsAssumedRoleUserAssumedRoleId |
| 115 | +
|
| 116 | + - rename: |
| 117 | + from: |
| 118 | + - log.responseElements.credentials.accessKeyId |
| 119 | + to: log.responseElementsCredentialsAccessKeyId |
| 120 | +
|
| 121 | + - rename: |
| 122 | + from: |
| 123 | + - log.responseElements.credentials.expiration |
| 124 | + to: log.responseElementsCredentialsExpiration |
| 125 | +
|
| 126 | + - rename: |
| 127 | + from: |
| 128 | + - log.responseElements.credentials.sessionToken |
| 129 | + to: log.responseElementsCredentialsSessionToken |
| 130 | +
|
| 131 | + - rename: |
| 132 | + from: |
| 133 | + - log.requestParameters.Host |
| 134 | + to: log.requestParametersHost |
| 135 | +
|
| 136 | + - rename: |
| 137 | + from: |
| 138 | + - log.requestParameters.acl |
| 139 | + to: log.requestParametersAcl |
| 140 | +
|
| 141 | + - rename: |
| 142 | + from: |
| 143 | + - log.requestParameters.bucketName |
| 144 | + to: log.userIdentityAccesrequestParametersBucketNamesKeyId |
| 145 | +
|
| 146 | + - rename: |
| 147 | + from: |
| 148 | + - log.additionalEventData.SignatureVersion |
| 149 | + to: log.additionalEventDataSignatureVersion |
| 150 | +
|
| 151 | + - rename: |
| 152 | + from: |
| 153 | + - log.additionalEventData.AuthenticationMethod |
| 154 | + to: log.additionalEventDataAuthenticationMethod |
| 155 | +
|
| 156 | + - rename: |
| 157 | + from: |
| 158 | + - log.additionalEventData.CipherSuite |
| 159 | + to: log.additionalEventDataCipherSuite |
| 160 | +
|
| 161 | + - rename: |
| 162 | + from: |
| 163 | + - log.additionalEventData.bytesTransferredIn |
| 164 | + to: origin.bytesReceived |
| 165 | +
|
| 166 | + - rename: |
| 167 | + from: |
| 168 | + - log.additionalEventData.bytesTransferredOut |
| 169 | + to: origin.bytesSent |
| 170 | +
|
| 171 | + - rename: |
| 172 | + from: |
| 173 | + - log.additionalEventData.x-amz-id-2 |
| 174 | + to: log.additionalEventDataXamzId2 |
| 175 | +
|
| 176 | + - rename: |
| 177 | + from: |
| 178 | + - log.additionalEventData.SSEApplied |
| 179 | + to: log.additionalEventDataSSEApplied |
| 180 | +
|
| 181 | + - rename: |
| 182 | + from: |
| 183 | + - log.requestParameters.key |
| 184 | + to: log.requestParametersKey |
| 185 | +
|
| 186 | + - rename: |
| 187 | + from: |
| 188 | + - log.requestParameters.x-amz-acl |
| 189 | + to: log.requestParametersXAmzAcl |
| 190 | +
|
| 191 | + - rename: |
| 192 | + from: |
| 193 | + - log.requestParameters.x-amz-server-side-encryption |
| 194 | + to: log.requestParametersXAmzServerSideEncryption |
| 195 | +
|
| 196 | + - rename: |
| 197 | + from: |
| 198 | + - log.responseElements.x-amz-expiration |
| 199 | + to: log.responseElementsXAmzExpiration |
| 200 | +
|
| 201 | + - rename: |
| 202 | + from: |
| 203 | + - log.responseElements.x-amz-server-side-encryption |
| 204 | + to: log.responseElementsXAmzServerSideEncryption |
| 205 | +
|
| 206 | + - rename: |
| 207 | + from: |
| 208 | + - log.responseElements.assumedRoleUser |
| 209 | + to: log.responseElementsAssumedRoleUser |
| 210 | +
|
| 211 | + - rename: |
| 212 | + from: |
| 213 | + - log.responseElements.credentials |
| 214 | + to: log.responseElementsCredentials |
| 215 | +
|
| 216 | + - rename: |
| 217 | + from: |
| 218 | + - log.tlsDetails.cipherSuite |
| 219 | + to: log.tlsDetailsCipherSuite |
| 220 | +
|
| 221 | + - rename: |
| 222 | + from: |
| 223 | + - log.tlsDetails.clientProvidedHostHeader |
| 224 | + to: log.tlsDetailsClientProvidedHostHeader |
| 225 | +
|
| 226 | + - rename: |
| 227 | + from: |
| 228 | + - log.tlsDetails.tlsVersion |
| 229 | + to: log.tlsDetailsTlsVersion |
| 230 | +
|
| 231 | + - delete: |
| 232 | + fields: |
| 233 | + - log.requestParameters |
| 234 | + - log.responseElements |
| 235 | + - log.userIdentity |
| 236 | + - log.additionalEventData' |
| 237 | + WHERE id=1529 |
| 238 | +
|
| 239 | + ]]> |
| 240 | + </sql> |
| 241 | + </changeSet> |
| 242 | + |
| 243 | +</databaseChangeLog> |
0 commit comments