#Public resources
ECR
Lambda
Lambda Layer
Serverless Application Repository
swagger: '2.0' | |
info: | |
description: |- | |
# Overview | |
This guide documents the InsightVM Application Programming Interface (API) Version 3. This API supports the | |
Representation State Transfer (REST) design pattern. Unless noted otherwise this API accepts and produces the | |
`application/json` media type. This API uses Hypermedia as the Engine of Application State (HATEOAS) and | |
is hypermedia friendly. All API connections must be made to the security console using HTTPS. |
## This is a sample configuration file. See the nxlog reference manual about the | |
## configuration options. It should be installed locally and is also available | |
## online at http://nxlog.org/docs/ | |
## Please set the ROOT to the folder your nxlog was installed into, | |
## otherwise it will not start. | |
#define ROOT C:\Program Files\nxlog | |
define ROOT C:\Program Files (x86)\nxlog | |
Panic Soft | |
#NoFreeOnExit TRUE | |
define ROOT C:\Program Files (x86)\nxlog | |
define CERTDIR %ROOT%\cert | |
define CONFDIR %ROOT%\conf | |
define LOGDIR %ROOT%\data | |
define LOGFILE %LOGDIR%\nxlog.log | |
LogFile %LOGFILE% |
<Extension _json> | |
Module xm_json | |
</Extension> | |
<Input eventlog> | |
Module im_msvistalog | |
Exec to_json(); | |
</Input> | |
<Output tcp> |
$RegUninstallPaths = @( | |
'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall', | |
'HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall') | |
$VersionsToKeep = @('Java 8 Update 261') | |
Get-WmiObject Win32_Process | Where {$_.ExecutablePath -like '*Program FilesJava*'} | | |
Select @{n='Name';e={$_.Name.Split('.')[0]}} | Stop-Process -Force | |
get-process -Name *iexplore* | Stop-Process -Force -ErrorAction SilentlyContinue |
$DateTime = Get-Date -f "yyyy-MM" | |
$CSVFile = "C:\AD_Groups"+$DateTime+".csv" | |
$CSVOutput = @() | |
$ADGroups = Get-ADGroup -Filter * | |
$i=0 | |
$tot = $ADGroups.count | |
foreach ($ADGroup in $ADGroups) { |
------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
-- Asset Purge v3 | |
------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
SET search_path TO nxsilo_default, nxadmin, nxglobal; | |
ANALYZE VERBOSE; | |
\echo `date` 'Disable constraints' | |
SET session_replication_role = replica; | |
------------------------------------------------------------------------------------------------------------------------------------------------------------ |
Get-ChildItem $directory -Directory -Recurse -Force | | |
Sort-Object -Property FullName -Descending | | |
Where-Object { $($_ | Get-ChildItem -Force | Select-Object -First 1).Count -eq 0 } | | |
Remove-Item |
#!/bin/bash | |
############################################################################################################# | |
## Information ## | |
############################################################################################################# | |
## Created by Clay Nelson on 2/15/19 ## | |
## Sources: ## | |
## Shannon Johnson - https://www.jamf.com/jamf-nation/discussions/29555/script-to-install-update-java ## | |
## Lewis Lebentz - https://lew.im/2017/03/auto-update-chrome/ ## | |
## Joe Farage - https://www.jamf.com/jamf-nation/third-party-products/files/764/firefox-install-update ## |
#Public resources
ECR
Lambda
Lambda Layer
Serverless Application Repository