cdk-serverless-clamscan 2.10.80__tar.gz → 2.11.0__tar.gz
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.
- {cdk_serverless_clamscan-2.10.80/src/cdk_serverless_clamscan.egg-info → cdk_serverless_clamscan-2.11.0}/PKG-INFO +36 -1
- {cdk_serverless_clamscan-2.10.80 → cdk_serverless_clamscan-2.11.0}/README.md +35 -0
- {cdk_serverless_clamscan-2.10.80 → cdk_serverless_clamscan-2.11.0}/setup.py +2 -2
- {cdk_serverless_clamscan-2.10.80 → cdk_serverless_clamscan-2.11.0}/src/cdk_serverless_clamscan/__init__.py +35 -0
- {cdk_serverless_clamscan-2.10.80 → cdk_serverless_clamscan-2.11.0}/src/cdk_serverless_clamscan/_jsii/__init__.py +2 -2
- cdk_serverless_clamscan-2.11.0/src/cdk_serverless_clamscan/_jsii/cdk-serverless-clamscan@2.11.0.jsii.tgz +0 -0
- {cdk_serverless_clamscan-2.10.80 → cdk_serverless_clamscan-2.11.0/src/cdk_serverless_clamscan.egg-info}/PKG-INFO +36 -1
- {cdk_serverless_clamscan-2.10.80 → cdk_serverless_clamscan-2.11.0}/src/cdk_serverless_clamscan.egg-info/SOURCES.txt +1 -1
- cdk_serverless_clamscan-2.10.80/src/cdk_serverless_clamscan/_jsii/cdk-serverless-clamscan@2.10.80.jsii.tgz +0 -0
- {cdk_serverless_clamscan-2.10.80 → cdk_serverless_clamscan-2.11.0}/LICENSE +0 -0
- {cdk_serverless_clamscan-2.10.80 → cdk_serverless_clamscan-2.11.0}/MANIFEST.in +0 -0
- {cdk_serverless_clamscan-2.10.80 → cdk_serverless_clamscan-2.11.0}/NOTICE +0 -0
- {cdk_serverless_clamscan-2.10.80 → cdk_serverless_clamscan-2.11.0}/pyproject.toml +0 -0
- {cdk_serverless_clamscan-2.10.80 → cdk_serverless_clamscan-2.11.0}/setup.cfg +0 -0
- {cdk_serverless_clamscan-2.10.80 → cdk_serverless_clamscan-2.11.0}/src/cdk_serverless_clamscan/py.typed +0 -0
- {cdk_serverless_clamscan-2.10.80 → cdk_serverless_clamscan-2.11.0}/src/cdk_serverless_clamscan.egg-info/dependency_links.txt +0 -0
- {cdk_serverless_clamscan-2.10.80 → cdk_serverless_clamscan-2.11.0}/src/cdk_serverless_clamscan.egg-info/requires.txt +0 -0
- {cdk_serverless_clamscan-2.10.80 → cdk_serverless_clamscan-2.11.0}/src/cdk_serverless_clamscan.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: cdk-serverless-clamscan
|
3
|
-
Version: 2.
|
3
|
+
Version: 2.11.0
|
4
4
|
Summary: Serverless architecture to virus scan objects in Amazon S3.
|
5
5
|
Home-page: https://github.com/awslabs/cdk-serverless-clamscan
|
6
6
|
Author: Amazon Web Services<donti@amazon.com>
|
@@ -198,6 +198,41 @@ When ClamAV publishes updates to the scanner you will see “Your ClamAV install
|
|
198
198
|
|
199
199
|
Update the docker images of the Lambda functions with the latest version of ClamAV by re-running `cdk deploy`.
|
200
200
|
|
201
|
+
## Optionally Skip Files
|
202
|
+
|
203
|
+
In certain situations, you may have files which are already scanned and you wish to omit them from ClamAV scanning. In that case, simply tag the s3 object with `"scan-status": "N/A"` and the file will be automatically skipped.
|
204
|
+
|
205
|
+
### Example 1. (Upload file to skip)
|
206
|
+
|
207
|
+
<details><summary>python/boto</summary>
|
208
|
+
<p>
|
209
|
+
|
210
|
+
```python
|
211
|
+
boto3.client('s3').upload_file(
|
212
|
+
Filename=file_path,
|
213
|
+
Bucket=bucket_name,
|
214
|
+
Key=object_key,
|
215
|
+
ExtraArgs={'Tagging': 'scan-status=N/A'}
|
216
|
+
)
|
217
|
+
```
|
218
|
+
|
219
|
+
</p></details><details><summary>typscript/aws-sdk</summary>
|
220
|
+
<p>
|
221
|
+
|
222
|
+
```python
|
223
|
+
const params = {
|
224
|
+
Bucket: bucketName,
|
225
|
+
Key: objectKey,
|
226
|
+
Body: fileContent,
|
227
|
+
Tagging: 'scan-status=N/A',
|
228
|
+
};
|
229
|
+
const command = new PutObjectCommand(params);
|
230
|
+
const response = await (new S3Client()).send(command);
|
231
|
+
```
|
232
|
+
|
233
|
+
</p>
|
234
|
+
</details>
|
235
|
+
|
201
236
|
## API Reference
|
202
237
|
|
203
238
|
See [API.md](./API.md).
|
@@ -170,6 +170,41 @@ When ClamAV publishes updates to the scanner you will see “Your ClamAV install
|
|
170
170
|
|
171
171
|
Update the docker images of the Lambda functions with the latest version of ClamAV by re-running `cdk deploy`.
|
172
172
|
|
173
|
+
## Optionally Skip Files
|
174
|
+
|
175
|
+
In certain situations, you may have files which are already scanned and you wish to omit them from ClamAV scanning. In that case, simply tag the s3 object with `"scan-status": "N/A"` and the file will be automatically skipped.
|
176
|
+
|
177
|
+
### Example 1. (Upload file to skip)
|
178
|
+
|
179
|
+
<details><summary>python/boto</summary>
|
180
|
+
<p>
|
181
|
+
|
182
|
+
```python
|
183
|
+
boto3.client('s3').upload_file(
|
184
|
+
Filename=file_path,
|
185
|
+
Bucket=bucket_name,
|
186
|
+
Key=object_key,
|
187
|
+
ExtraArgs={'Tagging': 'scan-status=N/A'}
|
188
|
+
)
|
189
|
+
```
|
190
|
+
|
191
|
+
</p></details><details><summary>typscript/aws-sdk</summary>
|
192
|
+
<p>
|
193
|
+
|
194
|
+
```python
|
195
|
+
const params = {
|
196
|
+
Bucket: bucketName,
|
197
|
+
Key: objectKey,
|
198
|
+
Body: fileContent,
|
199
|
+
Tagging: 'scan-status=N/A',
|
200
|
+
};
|
201
|
+
const command = new PutObjectCommand(params);
|
202
|
+
const response = await (new S3Client()).send(command);
|
203
|
+
```
|
204
|
+
|
205
|
+
</p>
|
206
|
+
</details>
|
207
|
+
|
173
208
|
## API Reference
|
174
209
|
|
175
210
|
See [API.md](./API.md).
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
5
5
|
"""
|
6
6
|
{
|
7
7
|
"name": "cdk-serverless-clamscan",
|
8
|
-
"version": "2.
|
8
|
+
"version": "2.11.0",
|
9
9
|
"description": "Serverless architecture to virus scan objects in Amazon S3.",
|
10
10
|
"license": "Apache-2.0",
|
11
11
|
"url": "https://github.com/awslabs/cdk-serverless-clamscan",
|
@@ -26,7 +26,7 @@ kwargs = json.loads(
|
|
26
26
|
],
|
27
27
|
"package_data": {
|
28
28
|
"cdk_serverless_clamscan._jsii": [
|
29
|
-
"cdk-serverless-clamscan@2.
|
29
|
+
"cdk-serverless-clamscan@2.11.0.jsii.tgz"
|
30
30
|
],
|
31
31
|
"cdk_serverless_clamscan": [
|
32
32
|
"py.typed"
|
@@ -171,6 +171,41 @@ When ClamAV publishes updates to the scanner you will see “Your ClamAV install
|
|
171
171
|
|
172
172
|
Update the docker images of the Lambda functions with the latest version of ClamAV by re-running `cdk deploy`.
|
173
173
|
|
174
|
+
## Optionally Skip Files
|
175
|
+
|
176
|
+
In certain situations, you may have files which are already scanned and you wish to omit them from ClamAV scanning. In that case, simply tag the s3 object with `"scan-status": "N/A"` and the file will be automatically skipped.
|
177
|
+
|
178
|
+
### Example 1. (Upload file to skip)
|
179
|
+
|
180
|
+
<details><summary>python/boto</summary>
|
181
|
+
<p>
|
182
|
+
|
183
|
+
```python
|
184
|
+
boto3.client('s3').upload_file(
|
185
|
+
Filename=file_path,
|
186
|
+
Bucket=bucket_name,
|
187
|
+
Key=object_key,
|
188
|
+
ExtraArgs={'Tagging': 'scan-status=N/A'}
|
189
|
+
)
|
190
|
+
```
|
191
|
+
|
192
|
+
</p></details><details><summary>typscript/aws-sdk</summary>
|
193
|
+
<p>
|
194
|
+
|
195
|
+
```python
|
196
|
+
const params = {
|
197
|
+
Bucket: bucketName,
|
198
|
+
Key: objectKey,
|
199
|
+
Body: fileContent,
|
200
|
+
Tagging: 'scan-status=N/A',
|
201
|
+
};
|
202
|
+
const command = new PutObjectCommand(params);
|
203
|
+
const response = await (new S3Client()).send(command);
|
204
|
+
```
|
205
|
+
|
206
|
+
</p>
|
207
|
+
</details>
|
208
|
+
|
174
209
|
## API Reference
|
175
210
|
|
176
211
|
See [API.md](./API.md).
|
@@ -33,9 +33,9 @@ import constructs._jsii
|
|
33
33
|
|
34
34
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
35
35
|
"cdk-serverless-clamscan",
|
36
|
-
"2.
|
36
|
+
"2.11.0",
|
37
37
|
__name__[0:-6],
|
38
|
-
"cdk-serverless-clamscan@2.
|
38
|
+
"cdk-serverless-clamscan@2.11.0.jsii.tgz",
|
39
39
|
)
|
40
40
|
|
41
41
|
__all__ = [
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: cdk-serverless-clamscan
|
3
|
-
Version: 2.
|
3
|
+
Version: 2.11.0
|
4
4
|
Summary: Serverless architecture to virus scan objects in Amazon S3.
|
5
5
|
Home-page: https://github.com/awslabs/cdk-serverless-clamscan
|
6
6
|
Author: Amazon Web Services<donti@amazon.com>
|
@@ -198,6 +198,41 @@ When ClamAV publishes updates to the scanner you will see “Your ClamAV install
|
|
198
198
|
|
199
199
|
Update the docker images of the Lambda functions with the latest version of ClamAV by re-running `cdk deploy`.
|
200
200
|
|
201
|
+
## Optionally Skip Files
|
202
|
+
|
203
|
+
In certain situations, you may have files which are already scanned and you wish to omit them from ClamAV scanning. In that case, simply tag the s3 object with `"scan-status": "N/A"` and the file will be automatically skipped.
|
204
|
+
|
205
|
+
### Example 1. (Upload file to skip)
|
206
|
+
|
207
|
+
<details><summary>python/boto</summary>
|
208
|
+
<p>
|
209
|
+
|
210
|
+
```python
|
211
|
+
boto3.client('s3').upload_file(
|
212
|
+
Filename=file_path,
|
213
|
+
Bucket=bucket_name,
|
214
|
+
Key=object_key,
|
215
|
+
ExtraArgs={'Tagging': 'scan-status=N/A'}
|
216
|
+
)
|
217
|
+
```
|
218
|
+
|
219
|
+
</p></details><details><summary>typscript/aws-sdk</summary>
|
220
|
+
<p>
|
221
|
+
|
222
|
+
```python
|
223
|
+
const params = {
|
224
|
+
Bucket: bucketName,
|
225
|
+
Key: objectKey,
|
226
|
+
Body: fileContent,
|
227
|
+
Tagging: 'scan-status=N/A',
|
228
|
+
};
|
229
|
+
const command = new PutObjectCommand(params);
|
230
|
+
const response = await (new S3Client()).send(command);
|
231
|
+
```
|
232
|
+
|
233
|
+
</p>
|
234
|
+
</details>
|
235
|
+
|
201
236
|
## API Reference
|
202
237
|
|
203
238
|
See [API.md](./API.md).
|
@@ -12,4 +12,4 @@ src/cdk_serverless_clamscan.egg-info/dependency_links.txt
|
|
12
12
|
src/cdk_serverless_clamscan.egg-info/requires.txt
|
13
13
|
src/cdk_serverless_clamscan.egg-info/top_level.txt
|
14
14
|
src/cdk_serverless_clamscan/_jsii/__init__.py
|
15
|
-
src/cdk_serverless_clamscan/_jsii/cdk-serverless-clamscan@2.
|
15
|
+
src/cdk_serverless_clamscan/_jsii/cdk-serverless-clamscan@2.11.0.jsii.tgz
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|