-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into doc/rancher-deployment
- Loading branch information
Showing
29 changed files
with
401 additions
and
65 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# This has been safeguarded directly in the code | ||
CVE-2024-35515 |
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.31.0 | ||
3.33.1 |
55 changes: 55 additions & 0 deletions
55
package/etc/conf.d/conflib/netsource/app-netsource-netapp_ontap.conf
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
block parser app-netsource-netapp_ontap() { | ||
channel { | ||
rewrite { | ||
r_set_splunk_dest_default( | ||
index("infraops") | ||
vendor("netapp") | ||
product("ontap") | ||
); | ||
}; | ||
|
||
if { | ||
parser { | ||
regexp-parser( | ||
prefix(".tmp.") | ||
patterns('^[A-Za-z0-9\-\_\.]+: [0-9a-f]+\.[0-9a-f]+ [0-9a-f]+ [A-Z][a-z][a-z] (?<timestamp>[A-Z][a-z][a-z] \d\d \d\d\d\d \d\d:\d\d:\d\d [+-]?\d{1,2}:\d\d)') | ||
); | ||
date-parser-nofilter( | ||
format( | ||
'%b %d %Y %H:%M:%S %z', | ||
) | ||
template("${.tmp.timestamp}") | ||
); | ||
}; | ||
|
||
rewrite { | ||
set('$PROGRAM: $MESSAGE', value(MESSAGE)); | ||
set('$PROGRAM', value(HOST)); | ||
unset(value(PROGRAM)); | ||
}; | ||
|
||
rewrite { | ||
r_set_splunk_dest_update_v2( | ||
sourcetype('netapp:ontap:audit') | ||
class('audit') | ||
); | ||
}; | ||
} else { | ||
rewrite { | ||
r_set_splunk_dest_update_v2( | ||
sourcetype('netapp:ontap:ems') | ||
class('ems') | ||
); | ||
}; | ||
}; | ||
}; | ||
}; | ||
|
||
application app-netsource-netapp_ontap[sc4s-network-source] { | ||
filter { | ||
match("netapp", value('.netsource.sc4s_vendor'), type(string)) | ||
and match("ontap", value('.netsource.sc4s_product'), type(string)) | ||
and "`SC4S_NETAPP_ONTAP_NEW_FORMAT`" eq "yes" | ||
}; | ||
parser { app-netsource-netapp_ontap(); }; | ||
}; |
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -98,4 +98,4 @@ def flush(self): | |
|
||
|
||
if __name__ == "__main__": | ||
pass | ||
pass |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
application app-vps-test-netapp_ontap[sc4s-vps] { | ||
filter { | ||
host("netapp-ontap-" type(string) flags(prefix)) | ||
or ( | ||
message("netapp-ontap-" type(string) flags(prefix)) | ||
and program("netapp-ontap-" type(string) flags(prefix)) | ||
) | ||
}; | ||
parser { | ||
p_set_netsource_fields( | ||
vendor('netapp') | ||
product('ontap') | ||
); | ||
}; | ||
}; |
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
Oops, something went wrong.