This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Auto Time Worked Duration | |
// @namespace http://tampermonkey.net/ | |
// @version 1.1 | |
// @description Auto Sets the Time Worked Duration to 2 Minutes. | |
// @author You | |
// @match https://*.service-now.com/* | |
// @icon https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTwS70r6aZEg6-wofSf66x7MU7FiZSEFSOIQA&usqp=CAU | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" AVA - Get Alarms | |
This script will retrieve all open, unsuppressed alarms from all customers | |
with an active AlienVault USM instance within the last week. | |
Parameters | |
--- | |
swimlane_api_token: Key Store(swimlane_api_pat) = "secret_value" | |
The access token for the swimlane administrator account. Loaded from the key | |
store. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from datetime import datetime, timezone | |
from dateutil import parser | |
access_token = "POPULATE ME" | |
repo = "ORG/Repo" | |
total_bytes_deleted = 0 | |
headers = {"Authorization": f"Bearer {access_token}"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"editor.minimap.enabled": false, | |
"editor.suggestSelection": "first", | |
"explorer.confirmDelete": false, | |
"rainbow_csv.csv_lint_detect_trailing_spaces": true, | |
"editor.wordBasedSuggestions": false, | |
"git.mergeEditor": true, | |
"window.commandCenter": true, | |
"terminal.integrated.shellIntegration.enabled": true, | |
"vs-kubernetes": { |