Skip to content

Commit b8247e5

Browse files
committed
update, template and dependencies
1 parent 296e470 commit b8247e5

13 files changed

Lines changed: 1409 additions & 941 deletions

.copier-answers.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Changes here will be overwritten by Copier
2-
_commit: v7.3.0-24-g169e035
2+
_commit: v8.5.0
33
_src_path: gh:eccenca/cmem-plugin-template
44
author_mail: cmempy-developer@eccenca.com
55
author_name: eccenca GmbH
6-
github_page: ''
7-
project_description: Retrieve data from a Logpoint Security information and event
8-
management (SIEM) system.
6+
github_page: https://github.com/eccenca/cmem-plugin-logpoint
7+
project_description: Retrieve data from a GuardSix (aka Logpoint) Security information
8+
and event management (SIEM) system.
99
project_slug: logpoint
1010
project_type: plugin
11-
pypi: false
11+
pypi: true
1212

.github/workflows/check.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ jobs:
2222
- name: Check out repository
2323
uses: actions/checkout@v5
2424

25+
- name: Cache Trivy DB
26+
id: cache-trivydb
27+
uses: actions/cache@v4
28+
with:
29+
path: .trivycache
30+
key: ${{ runner.os }}-trivydb
31+
2532
- name: Install Task
2633
uses: arduino/setup-task@v2
2734

@@ -38,10 +45,6 @@ jobs:
3845
virtualenvs-in-project: true
3946
installer-parallel: true
4047

41-
- name: Install dynamic versioning plugin
42-
run: |
43-
poetry self add "poetry-dynamic-versioning[plugin]"
44-
4548
- name: mypy
4649
run: |
4750
task check:mypy
@@ -61,9 +64,13 @@ jobs:
6164
run: |
6265
task check:deptry
6366
64-
- name: safety
67+
- name: trivy
68+
env:
69+
TRIVY_NO_PROGRESS: "true"
70+
TRIVY_CACHE_DIR: ".trivycache/"
71+
TRIVY_DISABLE_VEX_NOTICE: "true"
6572
run: |
66-
task check:safety
73+
task check:trivy
6774
6875
- name: Publish Test Report in Action
6976
uses: mikepenz/action-junit-report@v4

.github/workflows/publish.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ jobs:
3535
virtualenvs-in-project: true
3636
installer-parallel: true
3737

38-
- name: Install dynamic versioning plugin
39-
run: |
40-
poetry self add "poetry-dynamic-versioning[plugin]"
41-
4238
- name: Publish Package
4339
env:
4440
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ dmypy.json
138138
# Cython debug symbols
139139
cython_debug/
140140

141+
# Claude code specifics
142+
.claude/settings.local.json
143+
141144
# project build plan specific ignores
142145
version.py
143146
co

.gitlab-ci.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
default:
3-
image: docker-registry.eccenca.com/eccenca-python:v3.13.8
3+
image: docker-registry.eccenca.com/eccenca-python:v3.13.13
44
# all jobs can be interrupted in case a new commit is pushed
55
interruptible: true
66
before_script:
@@ -60,17 +60,24 @@ deptry:
6060
script:
6161
- task check:deptry
6262

63-
safety:
63+
trivy:
6464
stage: test
65+
variables:
66+
TRIVY_NO_PROGRESS: "true"
67+
TRIVY_CACHE_DIR: ".trivycache/"
68+
TRIVY_DISABLE_VEX_NOTICE: "true"
6569
script:
66-
- task check:safety
70+
- task check:trivy
71+
cache:
72+
paths:
73+
- .trivycache/
6774

6875
build:
6976
stage: build
7077
needs:
7178
- mypy
7279
- pytest
73-
- safety
80+
- trivy
7481
- deptry
7582
script:
7683
- task build

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
default_language_version:
3+
python: python3.13
4+
25
repos:
36
- repo: local
47
hooks:
@@ -36,3 +39,9 @@ repos:
3639
stages: [post-checkout, post-merge]
3740
always_run: true
3841

42+
- id: trivy
43+
name: check:trivy
44+
description: run trivy to scan for vulnerabilities
45+
entry: task check:trivy
46+
language: python
47+
pass_filenames: false

.trivyignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# .trivyignore
2+
3+
# ignore 51358 safety - dev dependency only
4+
CVE-2022-39280

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
77

88
## [Unreleased]
99

10-
TODO: add at least one Added, Changed, Deprecated, Removed, Fixed or Security section
10+
### Changed
11+
12+
- template update
13+
- default endpoint now https://demo.guardsix.com
14+
1115

1216
## [0.5.1] 2025-11-07
1317

README-public.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# cmem-plugin-logpoint
22

3-
Retrieve data from a Logpoint Security information and event management (SIEM) system.
3+
Retrieve data from a GuardSix (aka Logpoint) Security information and event management (SIEM) system.
44

55
[![eccenca Corporate Memory][cmem-shield]][cmem-link]
66

@@ -9,7 +9,7 @@ This is a plugin for [eccenca](https://eccenca.com) [Corporate Memory](https://d
99
```
1010
cmemc admin workspace python install cmem-plugin-logpoint
1111
```
12-
12+
[![workflow](https://github.com/eccenca/cmem-plugin-logpoint/actions/workflows/check.yml/badge.svg)](https://github.com/eccenca/cmem-plugin-logpoint/actions) [![pypi version](https://img.shields.io/pypi/v/cmem-plugin-logpoint)](https://pypi.org/project/cmem-plugin-logpoint) [![license](https://img.shields.io/pypi/l/cmem-plugin-logpoint)](https://pypi.org/project/cmem-plugin-logpoint)
1313
[![poetry][poetry-shield]][poetry-link] [![ruff][ruff-shield]][ruff-link] [![mypy][mypy-shield]][mypy-link] [![copier][copier-shield]][copier]
1414

1515
[cmem-link]: https://documentation.eccenca.com

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# cmem-plugin-logpoint
22

3-
Retrieve data from a Logpoint Security information and event management (SIEM) system.
3+
Retrieve data from a GuardSix (aka Logpoint) Security information and event management (SIEM) system.
44

5-
[![eccenca Corporate Memory][cmem-shield]][cmem-link]
5+
[![eccenca Corporate Memory][cmem-shield]][cmem-link][![workflow](https://github.com/eccenca/cmem-plugin-logpoint/actions/workflows/check.yml/badge.svg)](https://github.com/eccenca/cmem-plugin-logpoint/actions) [![pypi version](https://img.shields.io/pypi/v/cmem-plugin-logpoint)](https://pypi.org/project/cmem-plugin-logpoint) [![license](https://img.shields.io/pypi/l/cmem-plugin-logpoint)](https://pypi.org/project/cmem-plugin-logpoint)
66
[![poetry][poetry-shield]][poetry-link] [![ruff][ruff-shield]][ruff-link] [![mypy][mypy-shield]][mypy-link] [![copier][copier-shield]][copier]
77

88
## Development

0 commit comments

Comments
 (0)