Skip to content

Commit

Permalink
add immich collection (#797)
Browse files Browse the repository at this point in the history
* add immich collection

* Update index

* fix parser to manage colors in log

* Update index

---------

Co-authored-by: GitHub Action <[email protected]>
  • Loading branch information
gauth-fr and actions-user authored Sep 21, 2023
1 parent ae6e2d2 commit 32fd7f2
Show file tree
Hide file tree
Showing 6 changed files with 116 additions and 20 deletions.
29 changes: 27 additions & 2 deletions .index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2147,6 +2147,27 @@
"fulljackz/pureftpd-bf"
]
},
"gauth-fr/immich": {
"path": "collections/gauth-fr/immich.yml",
"version": "0.1",
"versions": {
"0.1": {
"digest": "b18a419be300518ec1c82139f892af0d854dda2ff38ef13310568d48f632d5d1",
"deprecated": false
}
},
"long_description": "QSBjb2xsZWN0aW9uIHRvIGRlZmVuZCBbSW1taWNoXShodHRwczovL2ltbWljaC5hcHApIGluc3RhbmNlIGFnYWluc3QgY29tbW9uIGF0dGFja3MgOgogLSBJbW1pY2ggcGFyc2VyCiAtIEltbWljaCBicnV0ZWZvcmNlIGRldGVjdGlvbgoKIyMgQWNxdWlzaXRpb24gdGVtcGxhdGUKCkV4YW1wbGUgYWNxdWlzaXRpb24gZm9yIHRoaXMgY29sbGVjdGlvbiA6CgpJZiB1c2luZyBMT0dfRklMRSBlbnZpcm9ubWVudCB2YXJpYWJsZToKYGBgeWFtbAotLS0KZmlsZW5hbWVzOgogLSAvdmFyL2xvZy9pbW1pY2gvaW1taWNoX3NlcnZlci5sb2cKbGFiZWxzOgogIHR5cGU6IGltbWljaApgYGAKCkZvciBEb2NrZXIgZGlyZWN0bHkKYGBgeWFtbAotLS0Kc291cmNlOiBkb2NrZXIKY29udGFpbmVyX25hbWU6CiAtIGltbWljaF9zZXJ2ZXIKI2NvbnRhaW5lcl9pZDoKIyAtIDg0M2VlOTJkMjMxYgpsYWJlbHM6CiAgdHlwZTogaW1taWNoCmBgYAo=",
"content": "cGFyc2VyczoKICAtIGdhdXRoLWZyL2ltbWljaC1sb2dzCnNjZW5hcmlvczoKICAtIGdhdXRoLWZyL2ltbWljaC1iZgpkZXNjcmlwdGlvbjogIkltbWljaCBzdXBwb3J0IDogcGFyc2VyIGFuZCBicnV0ZS1mb3JjZSBkZXRlY3Rpb24iCmF1dGhvcjogZ2F1dGgtZnIKdGFnczoKICAtIGxpbnV4CiAgLSBicnV0ZS1mb3JjZQogIC0gaW1taWNoCg==",
"description": "Immich support : parser and brute-force detection",
"author": "gauth-fr",
"labels": null,
"parsers": [
"gauth-fr/immich-logs"
],
"scenarios": [
"gauth-fr/immich-bf"
]
},
"hitech95/nginx-mail": {
"path": "collections/hitech95/nginx-mail.yaml",
"version": "0.1",
Expand Down Expand Up @@ -4811,15 +4832,19 @@
"gauth-fr/immich-logs": {
"path": "parsers/s01-parse/gauth-fr/immich-logs.yaml",
"stage": "s01-parse",
"version": "0.1",
"version": "0.2",
"versions": {
"0.1": {
"digest": "5a9e8bfc8183eac0ae04713773e2fe932771a70eeebbd191b88d48abca944aad",
"deprecated": false
},
"0.2": {
"digest": "a8e655f18af1598eee89e0bc8a417f52c6c48139c8124b4e9bdee32357faa85d",
"deprecated": false
}
},
"long_description": "UGFyc2VyIGZvciBbSW1taWNoXShodHRwczovL2dpdGh1Yi5jb20vaW1taWNoLWFwcC9pbW1pY2gpIExvZ3MuCgpgYGB5YW1sCi0tLQpmaWxlbmFtZXM6CiAtIC92YXIvbG9nL2ltbWljaF9zZXJ2ZXIubG9nCmxhYmVsczoKICB0eXBlOiBpbW1pY2gKYGBgCgpgYGB5YW1sCi0tLQpzb3VyY2U6IGRvY2tlcgpjb250YWluZXJfbmFtZToKIC0gaW1taWNoX3NlcnZlcgojY29udGFpbmVyX2lkOgojIC0gODQzZWU5MmQyMzFiCmxhYmVsczoKICB0eXBlOiBpbW1pY2gKYGBgCg==",
"content": "b25zdWNjZXNzOiBuZXh0X3N0YWdlCiNkZWJ1ZzogZmFsc2UKbmFtZTogZ2F1dGgtZnIvaW1taWNoLWxvZ3MKZGVz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IGxvZ2luIGF0dGVtcHQgZm9yIHVzZXIgZmRzQGhkZC5jb20gZnJvbSBpcCBhZGRyZXNzIDE3Ni4xNzIuNDQuMjExCgogICAgICBhcHBseV9vbjogbWVzc2FnZQogICAgICBzdGF0aWNzOgogICAgICAgIC0gbWV0YTogbG9nX3R5cGUKICAgICAgICAgIHZhbHVlOiBpbW1pY2hfZmFpbGVkX2F1dGgKICAgICAgICAtIHRhcmdldDogZXZ0LlN0clRpbWVGb3JtYXQKICAgICAgICAgIHZhbHVlOiAiMDEvMDIvMjAwNiwgMTU6MDQ6MDUiCgpzdGF0aWNzOgogICAgLSBtZXRhOiBzZXJ2aWNlCiAgICAgIHZhbHVlOiBpbW1pY2gKICAgIC0gbWV0YTogdXNlcgogICAgICBleHByZXNzaW9uOiAiZXZ0LlBhcnNlZC51c2VybmFtZSIKICAgIC0gbWV0YTogc291cmNlX2lwCiAgICAgIGV4cHJlc3Npb246ICJldnQuUGFyc2VkLnNvdXJjZV9pcCIKICAgIC0gdGFyZ2V0OiBldnQuU3RyVGltZQogICAgICBleHByZXNzaW9uOiBldnQuUGFyc2VkLnRpbWVzdGFtcAo=",
"description": "Parse Immich logs",
"author": "gauth-fr",
"labels": null
Expand Down
3 changes: 2 additions & 1 deletion .tests/immich-logs/immich-logs.log
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[Nest] 7 - 08/02/2023, 7:32:47 PM WARN [AuthService] Failed login attempt for user [email protected] from ip address 192.168.0.254
[Nest] 7 - 08/02/2023, 7:34:03 PM WARN [AuthService] Failed login attempt for user [email protected] from ip address 176.172.44.211
[Nest] 7 - 08/02/2023, 7:34:03 WARN [AuthService] Failed login attempt for user [email protected] from ip address 176.172.44.212
[Nest] 7 - 08/02/2023, 7:34:03 WARN [AuthService] Failed login attempt for user [email protected] from ip address 176.172.44.212
\x1b[33m[Nest] 6 - \x1b[39m08/04/2023, 8:47:38 PM \x1b[33m WARN\x1b[39m \x1b[38;5;3m[AuthService] \x1b[39m\x1b[33mFailed login attempt for user [email protected] from ip address 176.171.169.54\x1b
Loading

0 comments on commit 32fd7f2

Please sign in to comment.