Generate an action plan for CAST Software rule violations
Project description
Action Plan Generation Tool
The script is used to to automate the sorting for the Action Plan violations on the database.
Installation
-
Download and unpack the latest release of Action Plan Generation Tool.
- Source Code (zip)
- com.castsoftware.uc.action-plan
- Unpack the Source Code zip file (arg)
-
Add the rules.xlsx file into your Action Plan Generation Tool folder
Usage
The script is designed to run on the command line using 5 parameters, --application, --rules, --output, --host and --port. Used to identify the application, the excel rules file path and the output excel application path.
- Create a virtual env
Python -m venv .venv
- Activate the virtual environment
.\.venv\scripts\activate
- Install
pip install com.castsoftware.uc.action-plan
- Use the commande line to launch the automated action plan
python -m cast_action_plan.main -a <application name> -c <configuration file>
General Configuration
The general configuration section contains three parts,
- host - Database host name
- port - Database port number
- application - application name
- rules - the absolute location of the excel rules template
- output - the absolute location of the excel output application
Output
This code allows to identify the important violations of the targeted application. The final data are push in the viewer_action_plan table of the corresponding application.
Sample configuration
{ "project":"Project Name", "template":"The absolute location of the excel rules template",
"Configuration":{ "Database":{ "database": "postgres", "user": "*****", "password": "****", "host": "", "port": "####" } } }
Project details
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 com.castsoftware.uc.action-plan-1.0.1.tar.gz
.
File metadata
- Download URL: com.castsoftware.uc.action-plan-1.0.1.tar.gz
- Upload date:
- Size: 184.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f4574ae4acd35e9fecaff6a330a2608ff2d7427e9057b93d9b3321719dd3aed |
|
MD5 | f712c4b80aab4e22c2e74b94633904f4 |
|
BLAKE2b-256 | a8ca275a5a16a4ba27fe2ae3fc6fff7755bd0ccc19aa9e5c2f16b54e60779b0e |
File details
Details for the file com.castsoftware.uc.action_plan-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: com.castsoftware.uc.action_plan-1.0.1-py3-none-any.whl
- Upload date:
- Size: 182.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27aec352e97add8ae27e7dbdce1896496a211b2c4ec101665abf0c3ae9681989 |
|
MD5 | 1fa4140bce0a23adadc6c9959a091dcd |
|
BLAKE2b-256 | 96718eb2df773c314162732af5b3ee5907b1e602cbf0367feba0d6e9372c10c8 |