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
EventID | SonicOS/XCategory Name | SonicOS/XGroup Name | Syslog LegacyCategory | PriorityLevel | SNMPTrap Type | Event Name | Log Event Message | |
---|---|---|---|---|---|---|---|---|
4 | System | Status | Maintenance | ALERT | 5201 | Activate Firewall | Network Security Appliance activated | |
5 | Log | General | Maintenance | INFO | 5601 | Clear Log | Log Cleared | |
6 | Log | Maintenance | INFO | 5602 | E-mail Log | Log successfully sent via E-mail | ||
10 | Security Services | General | System Error | ERROR | 602 | Setting Error on Load | Problem loading the URL List; check Filter settings | |
12 | Log | System Error | WARNING | 604 | E-mail Check Error on Load | Problem sending log E-mail; check log settings | ||
14 | Security Services | Content Filter | Blocked Sites | ERROR | 701 | Website Blocked | Web site access denied | |
16 | Security Services | Content Filter | Blocked Sites | NOTICE | 703 | Website Accessed | Web site access allowed | |
22 | Security Services | Attacks | Attack | ALERT | 501 | Ping of Death Blocked | Ping of death dropped | |
23 | Security Services | Attacks | Attack | ALERT | 502 | IP Spoof Detected | IP spoof dropped |
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
# print G force when touchdown. | |
var VERSION = "1.1"; | |
props.globals.initNode("position/gear-agl-ft", 0); | |
var N = 100; | |
var count = N; | |
var maxG = 0.0; | |
var minVs = 0.0; | |
var touchGs = 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
// Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | |
// or more contributor license agreements. Licensed under the Elastic License; | |
// you may not use this file except in compliance with the Elastic License. | |
var processor = require("processor"); | |
var console = require("console"); | |
var device; | |
// Register params from configuration. |
This file has been truncated, but you can view the full file.
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
// Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | |
// or more contributor license agreements. Licensed under the Elastic License; | |
// you may not use this file except in compliance with the Elastic License. | |
var processor = require("processor"); | |
var console = require("console"); | |
var device; | |
// Register params from configuration. |
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
GOROOT=/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64 #gosetup | |
GOPATH=/Users/adrian/go #gosetup | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/bin/go test -c -o /private/var/folders/4t/d2fxfql505j76bjd6yb6qhc80000gn/T/___TestReplaceIndexInIndexPattern_in_github_com_elastic_beats_v7_libbeat_dashboards github.com/elastic/beats/v7/libbeat/dashboards #gosetup | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/bin/go tool test2json -t /private/var/folders/4t/d2fxfql505j76bjd6yb6qhc80000gn/T/___TestReplaceIndexInIndexPattern_in_github_com_elastic_beats_v7_libbeat_dashboards -test.v -test.run ^TestReplaceIndexInIndexPattern$ #gosetup | |
=== RUN TestReplaceIndexInIndexPattern | |
=== RUN TestReplaceIndexInIndexPattern/Replace_in_[]interface(map).map | |
=== RUN TestReplaceIndexInIndexPattern/Replace_in_[]interface(map).mapstr | |
=== RUN TestReplaceIndexInIndexPattern/Replace_in_[]map.mapstr | |
=== RUN TestReplaceIndexInIndexPattern/Replace_in_[]mapstr.mapstr | |
=== RUN TestReplaceIndexInIndexPattern/Replace_in_[]maps |
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
{ | |
"filebeat-8.0.0-cisco-asa-asa-ftd-pipeline" : { | |
"description" : "Pipeline for Cisco ASA logs", | |
"processors" : [ | |
{ | |
"grok" : { | |
"field" : "message", | |
"patterns" : [ | |
"(?:%{SYSLOG_HEADER})?\\s*%{GREEDYDATA:log.original}" | |
], |
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
# Helper to find what's wrong when a Filebeat's fileset | |
# fails with the error: | |
# | |
# The following expected object was not found: | |
# { | |
# [...] | |
# } | |
# Searched in: | |
# [ | |
# [...] |
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 datetime import datetime, date, time, timedelta | |
import random | |
class WeightedRand: | |
def __init__(self, weights): | |
self.v = [] | |
self.n = sum(weights.values()) | |
for (k, v) in weights.iteritems(): | |
self.v += [k] * v |
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
import os | |
import random as rnd | |
import re | |
import sys | |
random_ips = set() | |
ips = {} | |
doc_ips = [[192, 0, 2], [198, 51, 100], [203, 0, 113]] | |
known_prefixes = set([ '.'.join([str(y) for y in x ]) for x in [ |
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
# local login failed | |
"type=USER_AUTH msg=audit(1553622768.697:628): pid=6261 uid=0 auid=1002 ses=40 msg='op=PAM:authentication acct=\"root\" exe=\"/bin/login\" hostname=? addr=? terminal=/dev/pts/1 res=failed'" | |
"type=USER_LOGIN msg=audit(1553622768.697:629): pid=6261 uid=0 auid=1002 ses=40 msg='op=login acct=\"root\" exe=\"/bin/login\" hostname=? addr=? terminal=/dev/pts/1 res=failed'" | |
# local login succeeded | |
"type=USER_AUTH msg=audit(1553622784.557:630): pid=6261 uid=0 auid=1002 ses=40 msg='op=PAM:authentication acct=\"adrian\" exe=\"/bin/login\" hostname=? addr=? terminal=/dev/pts/1 res=success'" | |
"type=USER_LOGIN msg=audit(1553622784.973:634): pid=6261 uid=0 auid=1002 ses=40 msg='op=login acct=\"adrian\" exe=\"/bin/login\" hostname=? addr=? terminal=/dev/pts/1 res=success'" |
NewerOlder