Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tyler-tee/trackerassist
TrackerAsisst is a Python library for interacting with Request Tracker's REST API 2.0 (pre-installed as of RT 5.0.0).
https://github.com/tyler-tee/trackerassist
information-security request-tracker rest rest-client
Last synced: 5 days ago
JSON representation
TrackerAsisst is a Python library for interacting with Request Tracker's REST API 2.0 (pre-installed as of RT 5.0.0).
- Host: GitHub
- URL: https://github.com/tyler-tee/trackerassist
- Owner: tyler-tee
- License: mit
- Created: 2020-07-19T13:24:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-20T19:23:20.000Z (12 months ago)
- Last Synced: 2024-09-22T10:34:37.155Z (about 2 months ago)
- Topics: information-security, request-tracker, rest, rest-client
- Language: Python
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TrackerAssist
TrackerAsisst is a Python library for interacting with Request Tracker's REST API 2.0 (pre-installed as of RT 5.0.0).
## Supported Actions
### Tickets
- Create new tickets
- Update existing ticket
- Comment on an existing ticket
- Delete existing ticket
- View a ticket's metadata
- Retrieve a ticket's history### Queues
- Create new queues
- Update existing queue's metadata
- View an existing queue's details
- Disable an existing queue### Search
- Search tickets using Ticket SQL### Users
- Create new users
- Update existing users
- Disable/Delete existing users
- View metadata related to an existing user### Assets
- Create a new asset
- Update an existing asset's metadata
- View an asset's details
- Delete an existing asset## Installation
```python
pip install TrackerAssist
```## Usage
```python
from TrackerAssist.tracker_assist import RTClient# Instantiate your client
rt_client = RTClient('127.0.0.1:8000', 'secret_token', verify_cert=False)# Get the details for a single ticket
ticket = rt_client.get_ticket(9882)# Update an existing ticket
rt_client.update_ticket(9882, Subject='Test Ticket', custom_fields={CF.{URL}: 'http://github.com'})# Search for existing tickets
ticket_sql = "Queue = 'General'"
tickets = rt_client.raw_search(ticket_sql)
```## License
[Gnu GPLv3](https://choosealicense.com/licenses/gpl-3.0/)