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
https://api.github.com/repos/Microsoft/azure-docs/events | |
[ | |
{ | |
id: "6121971036", | |
type: "PushEvent", | |
actor: { | |
id: 4665434, | |
login: "v-alje", | |
display_login: "v-alje", |
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
<powershell> | |
Invoke-WebRequest -Uri https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1 -OutFile ConfigureRemotingForAnsible.ps1 | |
powershell -ExecutionPolicy RemoteSigned .\ConfigureRemotingForAnsible.ps1 -SkipNetworkProfileCheck | |
</powershell> |
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
aws ec2 describe-images --owner self amazon --profile lambda --region ap-northeast-1 --filters 'Name=platform,Values=windows,Name=name,Values=Windows_Server-2012-R2*Japanese-64Bit-Base*' --query 'reverse(sort_by(Images,&CreationDate))[0].ImageId' --output text |
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
FROM ubuntu | |
RUN apt-get update && \ | |
apt-get install -y python3 python3-dev libssl-dev python3-pip ruby wget -no-install-recommends && \ | |
apt-get clean && rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* && \ | |
apt-get update && \ | |
pip3 install ansible && \ | |
gem install serverspec test-kitchen --no-ri --no-rdoc && \ | |
pip3 install awscli && \ | |
pip3 install aws-shell && \ |
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
"gather": { | |
"ansible_facts": { | |
"ansible_distribution": "FortiOS", | |
"ansible_distribution_major_version": "v4.0", | |
"ansible_distribution_version": "v4.0 MR3 Patch 14", | |
"ansible_fqdn": "FGT50B3G08xxxxxx", | |
"ansible_hostname": "FGT50B3G08xxxxxx", | |
"ansible_memfree_mb": 115, | |
"ansible_memtotal_mb": 249, | |
"ansible_module_setup": true, |
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
{ | |
"records": [ | |
{ | |
"time": "2017-04-02T14:40:25.5360000Z", | |
"systemId": "19dbc05a-4461-47de-a3cc-842db1e5fc14", | |
"category": "NetworkSecurityGroupFlowEvent", | |
"resourceId": "/SUBSCRIPTIONS/YOUR-SUBSCRIPTION-ID/RESOURCEGROUPS/AZURELAB/PROVIDERS/MICROSOFT.NETWORK/NETWORKSECURITYGROUPS/US-WEST", | |
"operationName": "NetworkSecurityGroupFlowEvents", | |
"properties": { | |
"Version": 1, |
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
{ | |
"http_method":"GET", | |
"results":[ | |
{ | |
"seq-num":1, | |
"q_origin_key":"1", | |
"status":"enable", | |
"dst":"192.168.1.0 255.255.255.0", | |
"gateway":"192.168.1.254", | |
"distance":10, |
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
{ | |
"http_method":"GET", | |
"results":[ | |
{ | |
"name":"ALL", | |
"q_origin_key":"ALL", | |
"explicit-proxy":"disable", | |
"category":"General", | |
"protocol":"IP", | |
"iprange":"0.0.0.0", |
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
{ | |
"http_method":"GET", | |
"results":[ | |
{ | |
"name":"Adobe Login", | |
"q_origin_key":"Adobe Login", | |
"uuid":"5d63a640-1613-51e7-88c2-c9b1a33b0349", | |
"subnet":"0.0.0.0 0.0.0.0", | |
"type":"wildcard-fqdn", | |
"start-ip":"0.0.0.0", |
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
{ | |
"http_method":"GET", | |
"results":[ | |
{ | |
"policyid":1, | |
"q_origin_key":"1", | |
"name":"test1", | |
"uuid":"5e793628-1625-51e7-74cf-0eed2b242a2f", | |
"srcintf":[ | |
{ |