-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update to latest version: v1.1.0 (#16)
- Loading branch information
Showing
28 changed files
with
1,338 additions
and
529 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: unittest | ||
on: | ||
pull_request: | ||
branches: | ||
- "main" | ||
|
||
jobs: | ||
unit-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v3 | ||
|
||
# Set up python 3.9 | ||
- name: Prepare python env | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.9" | ||
|
||
# Install pipenv | ||
- name: Install pipenv | ||
run: pip install pipenv | ||
|
||
# Pack and publish Python SDK | ||
- name: Exec py client unit test | ||
run: make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# general things to ignore | ||
build/ | ||
dist/ | ||
*.egg-info/ | ||
*.egg | ||
*.py[cod] | ||
__pycache__/ | ||
*.so | ||
*~ | ||
|
||
# due to using tox and pytest | ||
.tox | ||
.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,33 @@ | ||
# CHANGELOG | ||
|
||
## 1.1.0 - 2024-04-03 | ||
|
||
* Update protos | ||
* Enable PML (Predictive Machine Learning) detection and smart feedback | ||
* Enable bulk mode | ||
* Enable India region | ||
* Support for scanning large files (over 2GB) | ||
|
||
## 1.0.5 - 2023-12-28 | ||
|
||
* fix linting issues | ||
|
||
## 1.0.4 - 2023-05-18 | ||
|
||
* set default timeout_in_seconds to 180 seconds | ||
|
||
## 1.0.3 - 2023-05-10 | ||
|
||
* Change LICENSE | ||
|
||
## 1.0.2 - 2023-05-10 | ||
|
||
* Change README.md | ||
|
||
## 1.0.1 - 2023-05-04 | ||
|
||
* Add scan_buffer() function | ||
|
||
## 1.0.0 - 2023-05-01 | ||
* Initial release | ||
|
||
* Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,24 @@ | ||
# ROOT_DIR := $(abspath ../../) | ||
# include $(ROOT_DIR)/build-scripts/variables.mk | ||
|
||
PIPY_URL ?= https://upload.pypi.org/legacy/ | ||
TOKEN ?= | ||
VERSION := $(shell cat VERSION | tr -d '\n') | ||
|
||
build: clean | ||
proto: | ||
pipenv sync --dev | ||
pipenv run python -m grpc_tools.protoc -Iamaas/grpc/protos=./amaas/protos \ | ||
pipenv run python -m grpc_tools.protoc -Iamaas/grpc/protos=./protos \ | ||
--python_out=. \ | ||
--pyi_out=. \ | ||
--grpc_python_out=. \ | ||
./amaas/protos/scan.proto | ||
./protos/scan.proto | ||
|
||
build: proto | ||
pipenv run pipenv-setup sync | ||
pipenv run python setup.py sdist bdist_wheel | ||
|
||
test: proto | ||
pipenv run pytest tests | ||
|
||
upload: | ||
#pipenv run twine upload ./dist/*.whl | ||
pipenv run twine upload --repository-url $(PIPY_URL) -u __token__ -p $(TOKEN) ./dist/*.whl --skip-existing | ||
|
||
clean: | ||
@rm -rf dist build amaas/*.egg-info amaas/grpc/protos/ | ||
@rm -rf dist build *.egg-info amaas/grpc/protos/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Cloud One VSAPI Python Client | ||
Copyright 2023 Trend Micro Inc. | ||
Copyright 2023 Trend Micro Inc. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1.1.0 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.