Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ixoncloud/apply-agent-template-to-all


https://github.com/ixoncloud/apply-agent-template-to-all

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

# Apply agent template to all agents

This is an example python script that shows you how you can apply an agent template to all agents in your company.

## Setup config.ini

Add config.ini file in project folder containing:

```
[vars]
bearer_token: YOUR_VALUE
api_application: YOUR_VALUE
api_company: YOUR_VALUE
template: YOUR_VALUE
```

## Create Virtual env

```
python3 -m venv .venv
```

### Windows venv activation

In cmd.exe

```
venv\Scripts\activate.bat
```

In PowerShell

```
venv\Scripts\Activate.ps1
```

### Linux and MacOS venv activation

```
$ source myvenv/bin/activate
```

## Install dependences

```
pip install -r requirements.txt
```

## Run program

```
python main.py
```