Go to file
Andreas Danzer (DE-701) df854a7ecf jenkinsfile online editiert mit Bitbucket
added xibix verteiler
2023-07-07 15:00:08 +00:00
more_utils init 2022-12-16 09:59:01 +01:00
tests adapted unit tests 2022-12-27 13:32:20 +01:00
.gitignore init 2022-12-16 09:59:01 +01:00
createKeyRequestReport.py fix 2023-06-20 16:05:36 +02:00
dynatraceAPI.py init 2022-12-16 09:59:01 +01:00
environment.yaml added other environments 2023-05-09 10:02:48 +02:00
jenkinsfile jenkinsfile online editiert mit Bitbucket 2023-07-07 15:00:08 +00:00
pagination.py init 2022-12-16 09:59:01 +01:00
readme.md added email adresses 2022-12-31 13:50:18 +01:00
requirements.txt dependency fix 2023-05-16 09:15:18 +02:00
requirements_dev.txt fix 2023-05-08 19:33:57 +02:00

readme.md

Key Request Monitor

This repository holds the code to generate the Key Request Report.

Ouput is an excel file of all key requests used in slos, which has no data for 1M and 1W.

Prerequisites

Python packages

Before executing scripts, python requirements have to be satisfied. To do so, execute following command: pip install -r requirements.txt

.env file

To provide authentication for API calls, create ".env" file in the script directory with following definition:

<ENV NAME>=<ENV TOKEN>
	<ENV NAME> is name of environment variable. This name should be passed to "environment.yaml" file as "env-token-name" parameter
	Example:
	environment.yaml file: "- env-token-name: "GLOBAL_CONFIG_TOKEN"
	.env file: "GLOBAL_CONFIG_TOKEN=XXXXXXXXXXX"

Usage

python createKeyRequestReport.py

Files

createKeyRequestReport.py

This scripts generates the report.

environment.yaml

File containing environments to execute --auto-upload

Environment name:
	name: string										#name ov environment
	env-url: str										#url of environment
	env-token-name: str								#name of environment variable containing API token

requirements.txt

File containing required python packages