-
Notifications
You must be signed in to change notification settings - Fork 3
Policy Structure
Rui Lima edited this page Jun 5, 2018
·
1 revision
{
"project_id":"string",
"project_name":"string",
"organization":"string",
"repo":"string",
"repo_owner":"string",
"valid_licenses":["string"],
"fail":"boolean",
"plugin_cache_time":"int",
"api_cache_time":"int"
}
project_id: Id of the project to present in the report
project_name: Name of the project to present in the report
organization: The organization this project belongs to (Optional)
repo: The repository in github this project belongs to (Optional)
repo_owner: The owner of the repository this project belongs to (Optional)
valid_license: The name of all valid licenses
fail: Indicates if the build should fail in case a vulnerability is found
plugin_cache_time: Indicates in seconds the amount of time the cache used by the plugin should be considered valid
api_cache_time: Indicates in seconds the amount of time the cache used by the API should be considered valid.