Skip to content

Instantly share code, notes, and snippets.

View vjayajv's full-sized avatar
🏠
Working from home

thoughtfuldarwin vjayajv

🏠
Working from home
View GitHub Profile
@vjayajv
vjayajv / report.tmpl
Last active May 26, 2023 16:22
Grype report template
<!-- Go template for grype report -->
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Vulnerability Report</title>
<style>
@vjayajv
vjayajv / api_logger.py
Created October 11, 2023 18:54
Log to stdout and an API
# api_logger.py
import logging
import json
import requests
import sys
import os
import argparse
"""
Version Gate Pre-Run Modifier for Robot Framework
This modifier filters Robot Framework tests based on version tags:
- minver:X.Y.Z Run for versions >= X.Y.Z
- maxver:X.Y.Z Run for versions <= X.Y.Z
- onlyver:<expr> Run for versions matching a version expression
(e.g. >=8.4,<9.0,!=8.6.0)