Python schedule Automation job

# importing the required libraries import requests import json import base64 import uuid import ssl # define parameters username = '

Python List Modules Projects Runbooks

# importing the required libraries import requests import base64 import array as arr import xml.etree.ElementTree as ET import certifi import operator from prettytable import PrettyTable # define parameters username =…

Unifi VPN logging

10[NET] received packet: from 10.0.0.253[500] to 24.9.198.175[500] (408 bytes) 10[ENC] parsed ID_PROT request 0 [ SA V V V V V V V V ] 10[ENC] received unknown vendor ID:…

Duo Auth Proxy logging

2021-06-30T19:58:14.809178+0000 [duoauthproxy.lib.log#info] Packet dump - received from 192.168.25.1: 2021-06-30T19:58:14.810063+0000 [duoauthproxy.lib.log#info] b"\x01\xdd\x00\x86\xfd=\x1f\x1c\xd9y\x1a\xef\xad\x0c\x00g\x937\xe0\x82\x06\x06\x00\x00\x00\x02\x07\x06\x00\x00\x00\x01\x01\x08sander\x1a\x18\x00\x00\x017\x0b\x12\xc7L(\xdc\xbe-\x9a\xab\xa3\xfc\xa4\x93\xd9T\xd6d\x1a:\x00\x00\x017\x194\xfa\x004M\x02\xd4jM\xe4^1\x84H\xf5\x16\x12\xb5a\x00\x00\x00\x00\x00\x00\x00\x00\x18\x87\xb2vB\xa5'X\xb1\xb2\xcf\xb8\xa0\xab\xbbuS\xa9\xc8\xa6\xd9\x81\x82\xbb\x04\x06\x7f\x00\x01\x01\x05\x06\x00\x01\x86\xa0" 2021-06-30T19:58:14.811740+0000 [duoauthproxy.lib.log#info] Sending request from 192.168.25.1 to radius_server_auto 2021-06-30T19:58:14.813502+0000 [duoauthproxy.lib.log#info] Received new request id 221 from ('192.168.25.1', 42890) 2021-06-30T19:58:14.814524+0000…

Duo Auth Proxy example

; Complete documentation about the Duo Auth Proxy can be found here: ; https://duo.com/docs/authproxy_reference ; NOTE: After any changes are made to this file the Duo Authentication Proxy ; must…

IA WebAPI list guids

$secpasswd = ConvertTo-SecureString "" -AsPlainText -Force $mycreds = New-Object System.Management.Automation.PSCredential ( "webapi" , $secPasswd) $url = "https://iawebapi.automatedvision.info:8081//Dispatcher/SchedulingService" $Modules = @() $Temp_Modules = (Invoke-WebRequest -Uri $url/what/modules -Method GET -Credential $mycreds).Content if…

PS Script schedule job

$secpasswd = ConvertTo-SecureString "" -AsPlainText -Force $mycreds = New-Object System.Management.Automation.PSCredential ( "webapi" , $secPasswd) $url = " https://iawebapi.automatedvision.info:8081/Dispatcher/SchedulingService/jobs" $Parameter_Caption = "This is a test" $Parameter_Message = "Testing in progress" $body…

IA WebAPI Body example used

$body = '{ "Description":" Send Message API ", "When": {"Immediate": true, "IsLocalTime": true, "UseWakeOnLAN": false}, "What": [{ "ID":" 0D05A348-4574-4CAB-82F9-A5D3251457FD ", "Type": 0,"Name":" Send Message API " }], "Who": [{ "ID":"…

IA WebAPI example

{ "User":"String content", "AuthType":0, "Description":"String content", "When":{ "ScheduledDateTime":"\/Date(928171200000-0600)\/", "Immediate":true, "IsLocalTime":true, "UseWakeOnLAN":true, "IsRecurring":true, "RecurringSchedule":{ "IntervalType":0, "Period":"String content", "Interval":2147483647, "StartTime":"String content", "EffectiveDate":"String content" }, "IsEveryBoot":true, "IsNewAgent":true, "IsNextBoot":true, "OfflineAgentsNextBoot":true, "OrOnResume":true }, "What":[{ "ID":"String…

Python IA Schedule task

# importing the required libraries import requests import json import base64 import uuid # define parameters username = '' password = '' url = "https://iawebapi.automatedvision.info:8081/Dispatcher/SchedulingService/Jobs" identifier = uuid.uuid4().hex message =…