-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from dameyerdave/master
Added functionality to anonymize domains and general strings...
- Loading branch information
Showing
6 changed files
with
273 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.log |
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,38 @@ | ||
# copyright sys4 AG 2015 | ||
|
||
# This file is part of loganon. | ||
# | ||
# loganon is free software: you can redistribute it and/or modify it under the | ||
# terms of the GNU Lesser General Public License as published by the Free | ||
# Software Foundation, either version 3 of the License, or (at your option) any | ||
# later version. | ||
# | ||
# loganon is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Lesser General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Lesser General Public License | ||
# along with loganon. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
|
||
exchange: | ||
sender-address: | ||
- search: "sender-address:([^@]+)@" | ||
- replace: "sender-address:_MAP_@" | ||
return-path: | ||
- search: "return-path:([^@]+)@" | ||
- replace: "return-path:_MAP_@" | ||
recipient-address: | ||
- search: "recipient-address:([^@]+)@" | ||
- replace: "recipient-address:_MAP_@" | ||
UserID: | ||
- search: "UserID:([^,]+)" | ||
- replace: "UserID:_MAP_" | ||
AccountName: | ||
- search: "AccountName:([^,]+)" | ||
- replace: "AccountName:_MAP_" | ||
Domain: | ||
- search: "Domain:([^,]+)" | ||
- replace: "Domain:_MAP_" | ||
# vim: syn=yaml ts=2 sw=2 expandtab |
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,44 @@ | ||
# copyright sys4 AG 2015 | ||
|
||
# This file is part of loganon. | ||
# | ||
# loganon is free software: you can redistribute it and/or modify it under the | ||
# terms of the GNU Lesser General Public License as published by the Free | ||
# Software Foundation, either version 3 of the License, or (at your option) any | ||
# later version. | ||
# | ||
# loganon is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Lesser General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Lesser General Public License | ||
# along with loganon. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
fortigate: | ||
devname: | ||
- search: "devname=[^ ]+" | ||
- replace: "devname=DEVNAME" | ||
devid: | ||
- search: "devid=[^ ]+" | ||
- replace: "devid=DEVID" | ||
#srcip: | ||
# - search: "srcip=[^ ]+" | ||
# - replace: "srcip=IP" | ||
#dstip: | ||
# - search: "dstip=[^ ]+" | ||
# - replace: "dstip=IP" | ||
srcintf: | ||
- search: "srcintf=[^ ]+" | ||
- replace: "srcintf=\"SRCINTF\"" | ||
dstintf: | ||
- search: "dstintf=[^ ]+" | ||
- replace: "dstintf=\"DSTINTF\"" | ||
srccountry: | ||
- search: "srccountry=[^ ]+" | ||
- replace: "srccountry=\"COUNTRY\"" | ||
dstcountry: | ||
- search: "dstcountry=[^ ]+" | ||
- replace: "dstcountry=\"COUNTRY\"" | ||
|
||
# vim: syn=yaml ts=2 sw=2 expandtab |
Oops, something went wrong.