@adobe/spacecat-shared-utils 1.69.4 → 1.70.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/cdn-helpers.js +14 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-utils-v1.70.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.69.4...@adobe/spacecat-shared-utils-v1.70.0) (2025-11-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* LLMO-846 byocdn-imperva support in llmo ([#1085](https://github.com/adobe/spacecat-shared/issues/1085)) ([7548812](https://github.com/adobe/spacecat-shared/commit/7548812ca83b856392fc624cc1fd5ea1bf48658c))
|
|
7
|
+
|
|
1
8
|
# [@adobe/spacecat-shared-utils-v1.69.4](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.69.3...@adobe/spacecat-shared-utils-v1.69.4) (2025-11-06)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/cdn-helpers.js
CHANGED
|
@@ -138,6 +138,19 @@ const CDN_TRANSFORMATIONS = {
|
|
|
138
138
|
'time-to-first-byte',
|
|
139
139
|
'sc-content-type',
|
|
140
140
|
],
|
|
141
|
+
HelpUrl: 'https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/standard-logging.html#enable-standard-logging-cross-accounts',
|
|
142
|
+
}),
|
|
143
|
+
'byocdn-imperva': (payload) => ({
|
|
144
|
+
'Log integration mode': 'Push mode',
|
|
145
|
+
'Delivery method': 'Amazon S3 ARN',
|
|
146
|
+
'Bucket Name': payload.bucketName,
|
|
147
|
+
Region: payload.region,
|
|
148
|
+
Path: payload.allowedPaths?.[0] || '',
|
|
149
|
+
'Log types': 'Cloud WAF',
|
|
150
|
+
'Log level': 'Access logs',
|
|
151
|
+
Format: 'W3C',
|
|
152
|
+
'Compress logs': 'Yes',
|
|
153
|
+
HelpUrl: 'https://docs-cybersec.thalesgroup.com/bundle/cloud-application-security/page/siem-log-configuration.htm',
|
|
141
154
|
}),
|
|
142
155
|
};
|
|
143
156
|
|
|
@@ -151,7 +164,7 @@ const CDN_TRANSFORMATIONS = {
|
|
|
151
164
|
*
|
|
152
165
|
* @param {Object} payload - The result from CDN-Logs-Infrastructure-Provisioning API
|
|
153
166
|
* @param {string} payload.logSource - The CDN type ('byocdn-fastly' | 'byocdn-akamai'
|
|
154
|
-
* | 'byocdn-cloudflare' | 'byocdn-cloudfront' | 'ams-cloudfront')
|
|
167
|
+
* | 'byocdn-cloudflare' | 'byocdn-cloudfront' | 'ams-cloudfront' | 'byocdn-imperva')
|
|
155
168
|
* @returns {Object} - The prepared log forwarding configuration parameters
|
|
156
169
|
* @throws {Error} - If logSource is not supported or missing
|
|
157
170
|
*/
|