Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Python wrapper library for the BigBoat API. This API can create, retrieve, update and delete application definitions, do similar operations for instances and poll for status.
Support for v2 and the deprecated v1 APIs (limited to certain operations) is included. Note that BigBoat development itself has halted.
The BigBoat Python API has been tested to work on Python 3.8+. The API has few
dependencies; see requirements.txt
for the list of installation requirements.
The short list is also repeated here:
Install the latest version from PyPI using:
pip install bigboat
For local development, you can use pip install .
to install the package from
the cloned Git repository.
First, import the library:
import bigboat
Next, determine the URL of your BigBoat instance. In this example we use
http://BIG_BOAT
. Also check whether to use the v1 or v2 version of the API.
v1 is limited (deprecated in newer versions) and v2 requires an API key.
Example:
api = bigboat.Client_v2('http://BIG_BOAT', 'MY_API_KEY')
You can then use various methods on the client API, namely:
api.apps()
: List of Applicationsapi.get_app(name, version)
: Retrieve a specific Applicationapi.update_app(name, version)
: Register an Applicationapi.delete_app(name, version)
: Delete an Applicationapi.instances()
: List of Instancesapi.get_instance()
: Retrieve a specific Instanceapi.update_instance(name, app_name, version, ...)
: Start an Instanceapi.delete_instance(name)
: Stop an InstanceIn addition to the common methods, v2 has the following API methods:
api.get_compose(name, version, file_name)
: Retrieve a docker compose or
bigboat compose file for an Applicationapi.update_compose(name, version, file_name, content)
: Update a docker
compose or bigboat compose file for an Applicationapi.statuses()
: Retrieve a list of status dictionariesmake pylint
, make mypy
, make test
and make coverage
, respectively,
after installing dependencies from requirements-analysis.txt
by running
make setup_analysis
(for the pylint
and mypy
recipes) and from
requirements-test.txt
with make setup_test
(necessary for making all the
Makefile recipes mentioned here function correctly).make release
which performs multiple checks: version number consistency,
lint, typing and unit tests.The API wrapper library is licensed under the Apache 2.0 License.
FAQs
BigBoat docker dashboard API
We found that bigboat demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.