Skip to content

Instantly share code, notes, and snippets.

View cutler-scott-newrelic's full-sized avatar

Scott Cutler cutler-scott-newrelic

View GitHub Profile
@cutler-scott-newrelic
cutler-scott-newrelic / upgrade_elastic_template.py
Created July 27, 2021 19:20
This is a quick and dirty Python script that takes the legacy-style mappings and settings from filebeat and inserts them into an existing component template. This is WAY MORE work than it should be.
import pprint
import sys
import requests
import json
import argparse
import urllib
import logging
parser = argparse.ArgumentParser()
group = parser.add_mutually_exclusive_group()
@cutler-scott-newrelic
cutler-scott-newrelic / G0016.json
Created July 22, 2021 15:32
Generate a Google Sheet from Elastic SIEM data
{
"description": "Enterprise techniques used by APT29, ATT&CK group G0016 v2.0",
"name": "APT29 (G0016)",
"domain": "enterprise-attack",
"versions": {
"layer": "4.2",
"attack": "9",
"navigator": "4.3"
},
"techniques": [
@cutler-scott-newrelic
cutler-scott-newrelic / test.rb.erb
Last active December 30, 2020 22:30
sans holiday hack payload
<h1>test</h1>
@cutler-scott-newrelic
cutler-scott-newrelic / index.js
Created August 12, 2020 22:27
Netflow Nerdlet index
import React from 'react'
import PropTypes from 'prop-types'
import {
Grid,
GridItem,
Stack,
StackItem,
TextField,
Button,
LineChart,