fortifyapi 3.1.24
pip install fortifyapi
Latest version
Released:
Python library for Fortify Software Security Center (SSC) RESTFul API
Navigation
Verified details
These details have been verified by PyPIMaintainers
Meta
- Author: Brandon Spruth, Matthew Gill
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Brandon Spruth, Matthew Gill
- Tags fortify, api, security, software, microfocus, ssc, sast
Classifiers
- Development Status
- Intended Audience
- License
- Natural Language
- Operating System
- Programming Language
- Topic
Project description
Fortify API
Fortify API is a Python RESTFul API client module for Fortify’s Software Security Center
Quick Start
Several quick start options are available:
Build locally: pip install wheel setuptools && python setup.py build
Install with pip (recommended): pip install fortifyapi
Example
from os import environ
from locale import LC_ALL, setlocale
from fortifyapi.fortify import FortifyApi
# Set encoding
environ["PYTHONIOENCODING"] = "utf-8"
myLocale = setlocale(category=LC_ALL, locale="en_GB.UTF-8")
# Set vars for connection
url = 'https://some-fortify-host/ssc'
user = 'Fortify SSC User'
password = 'Fortify SSC Password'
description = 'fortifyapi test client'
# Authenticate and retrieve token
def token():
api = FortifyApi(host=url, username=user, password=password, verify_ssl=False)
response = api.get_token(description=description)
return response.data['data']['token']
# Re-use token in all requests
def api():
api = FortifyApi(host=url, token=token(), verify_ssl=False)
return api
# List ID, Project/application Version
def list():
response = api().get_all_project_versions()
data = response.data['data']
for version in data:
print("{0:8} {1:30} {2:30}".format(version['id'], version['project']['name'], version['name']).encode(
'utf-8', errors='ignore').decode())
if __name__ == '__main__':
list()
Bugs and Feature Requests
Found something that doesn’t seem right or have a feature request? Please open a new issue.
Copyright and License
Project details
Verified details
These details have been verified by PyPIMaintainers
Meta
- Author: Brandon Spruth, Matthew Gill
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Brandon Spruth, Matthew Gill
- Tags fortify, api, security, software, microfocus, ssc, sast
Classifiers
- Development Status
- Intended Audience
- License
- Natural Language
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file fortifyapi-3.1.24.tar.gz
.
File metadata
- Download URL: fortifyapi-3.1.24.tar.gz
- Upload date:
- Size: 30.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8792b603adf8b42c89aa03fa6ed3e1f727cb8ce044b680870221aae101bdaf87 |
|
MD5 | ab4e28b27f3336a132d24c60d0b87f32 |
|
BLAKE2b-256 | ff47614201389caff4c3fef187970e15d6c776931660622919daf2a76fe0037d |
File details
Details for the file fortifyapi-3.1.24-py3-none-any.whl
.
File metadata
- Download URL: fortifyapi-3.1.24-py3-none-any.whl
- Upload date:
- Size: 24.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 799cf6a0568149e12558c201c69e0f3086b2ce5435f1709a55b1a070300d83f1 |
|
MD5 | 17e5b937a10943e36d8f892c4b97bec9 |
|
BLAKE2b-256 | 70cc08a6fca7454f8d617d03db4bb2aec4454aa520eabaafe41d5b24bd024461 |