Skip to content

Instantly share code, notes, and snippets.

View justaguywhocodes's full-sized avatar

Toussaint Louverture justaguywhocodes

View GitHub Profile
5676fe1c2f2cf0b37d7049df813ac2f4
.\Spartacus.exe --mode dll --procmon C:\SysInternals\Procmon.exe --pml C:\Data\logs.pml --csv C:\Data\VulnerableDLLFiles.csv --solution C:\Data\Solutions --verbose
https://shaquibizhar.github.io/Amsi-bypass-generator/bypasses/bypass6.txt

Below is a markdown template for a README file tailored to your project, which involves a Python script leveraging the Vectr API to find test cases and create corresponding Jira tickets. The README is structured to provide clear instructions, project details, and setup guidance for users or contributors. I've included placeholders (e.g., [Your Project Name], [Your Jira Instance URL]) where you can fill in specific details about your project. The content is designed to be concise yet comprehensive, following best practices for README files and incorporating relevant context from the provided search results where applicable.

# [Your Project Name]

A Python script that uses the Vectr API to identify test cases and automatically create corresponding Jira tickets for test case management and tracking.

## Table of Contents
- [Project Overview](#project-overview)
- [Features](#features)
curl -H "Authorization: VEC1 <your-api-key>" -H "Content-Type: application/json" \
-d '{"query":"query { testcases(db: \"AMER\") { nodes { id name } }}"}' \
-X POST https://<vectr_hostname>/sra-purpletools-rest/graphql
import requests
import json
from typing import Dict, List, Optional
class VectrAPIClient:
"""A client to interact with the VECTR GraphQL API for pulling test cases."""
def __init__(self, api_url: str, api_key: str):
self.api_url = api_url
self.headers = {
**Jira Ticket: Requirements for VECTR Test Cases API to Jira Ticket Script**
**Description:**
Develop a script to create Jira tickets from VECTR test cases API data.
**Requirements:**
1. **Authentication**
- Create VECTR API credentials (e.g., API key or token) to authenticate requests securely.
- Store VECTR credentials in environment variables or a secrets manager to prevent exposure.
**Jira Ticket: Requirements for VECTR Test Cases API to Jira Ticket Script**
**Description:**
Develop a script to create Jira tickets from VECTR test cases API data.
**Requirements:**
1. **Authentication**
- VECTR: API key/token, secure storage (env variables).
- Jira: API token, user with issue creation permissions, secure storage.
import requests
from requests.auth import HTTPBasicAuth
import json
# Jira instance URL and credentials
JIRA_URL = "https://your-jira-instance.atlassian.net"
EMAIL = "[email protected]"
API_TOKEN = "your-api-token"
# Issue key
1. That’s not how you hold a rifle.
2. That’s not how you wear a vest.
3. Why is the officer on the right holding his rifle like he’s announcing a caliphate?