# Source: https://gist.github.com/vfarcic/a5cb2e8dcd1cf9c14194db3310d5c282 | |
######################################################### | |
# Is CUE The Perfect Language For Kubernetes Manifests? # | |
# https://youtu.be/Z-fdFEvgNss # | |
######################################################### | |
# Additional Info: | |
# - Cue: https://cuelang.org | |
# - Helm vs Kustomize - The Fight Between Templating and Patching in Kubernetes: https://youtu.be/ZMFYSm0ldQ0 |
var res = pm.response.json(); | |
pm.environment.set('token', res.token); |
DemoHandler | |
--- | |
def lambda_handler(event, context): | |
print(event) | |
return "hello, world!!" | |
DemoAuthorizer | |
--- |
''' | |
List all inactive user of a GitHub organization | |
See user.py --help for usage. | |
Partially inspired by https://gist.github.com/morido/9817399 | |
''' | |
import sys # to use sys.stdout | |
import os | |
from datetime import datetime | |
from time import strftime | |
import datetime |
Asset Identification, part of the SCAP standard, is a language that provides a data model for identifying assets, methods for identifying assets, and guidance on how to use asset identification.
The Asset Reporting Format, part of the SCAP standard, is a language that expresses the transport format of information about assets, and the relationships between assets and reports. It is also often called Result DataStream because it is complementary to Source DataStream.
Common Configuration Enumeration, part of the SCAP standard, is an enumeration of security relevant configuration elements for applications and operation systems.
# This is a basic workflow to help you get started with Actions | |
name: Workflow-1 | |
# Controls when the workflow will run | |
on: | |
workflow_dispatch: | |
inputs: | |
workflow2_name: | |
description: 'Workflow2 Name for Triggering' |
#!/usr/bin/env bash | |
# Begin Standard 'imports' | |
set -e | |
set -o pipefail | |
gray="\\e[37m" | |
blue="\\e[36m" | |
red="\\e[31m" | |
yellow="\\e[33m" |
All the commands, which has been used in this tutorial.
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add - sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main" sudo apt-get update && sudo apt-get install vault
vault vault -version
# /lib/lsb/init-functions for Debian -*- shell-script -*- | |
# | |
#Copyright (c) 2002-08 Chris Lawrence | |
#All rights reserved. | |
# | |
#Redistribution and use in source and binary forms, with or without | |
#modification, are permitted provided that the following conditions | |
#are met: | |
#1. Redistributions of source code must retain the above copyright | |
# notice, this list of conditions and the following disclaimer. |