#Public resources
ECR
Lambda
Lambda Layer
Serverless Application Repository
Email - (?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\]) | |
SSN - ^(?!(000|666|9))\d{3}-(?!00)\d{2}-(?!0000)\d{4}$|^(?!(000|666|9))\d{3}(?!00)\d{2}(?!0000)\d{4}$ | |
Passport Number - ^(?!^0+$)[a-zA-Z0-9]{3,20}$ | |
Date of Birth - ^((?:0[0-9])|(?:[1-2][0-9])|(?:3[0-1]))/((?:0[1-9])|(?:1[0-2]))/((?:19|20)\d{2})$ | |
Credit Cards - ^(?:4[0-9]{12}(?:[0-9]{3})? # Visa | |
| (?:5[1-5][0-9]{2} # MasterCard |
#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 |