Create a local collection

Hello, I am trying to create a local collection (to take into account local scenario), but unfortunately it does not work (the scenarios of collection are ignored for log processing).

My collection appear in the list of collections (
cscli collections list
) but its details are incomplete with
cscli collections inspect
.

Here is my collection (
pierre42100/bots-user-agents
is a custom scenario that I created based on
crowdsecurity/http-bad-user-agent
):

name: pierre42100/custom
parsers:
  - crowdsecurity/traefik-logs
collections:
  # Rely on Traefik
  - crowdsecurity/base-http-scenarios
description: "Custom collection for custom scenarios"
author: pierre42100
scenarios:
  - pierre42100/bots-user-agents
tags:
  - custom
  - traefik
  - http
  - bruteforce


Here is the output of the
cscli collections list
:

 Name                               πŸ“¦ Status          Version  Local Path               
 crowdsecurity/base-http-scenarios  βœ”οΈ  enabled        1.2      /etc/crowdsec/collections/base-http-scenarios.yaml 
 crowdsecurity/http-cve             βœ”οΈ  enabled        2.9      /etc/crowdsec/collections/http-cve.yaml            
 crowdsecurity/traefik              βœ”οΈ  enabled        0.1      /etc/crowdsec/collections/traefik.yaml             
 pierre42100/custom                 🏠  enabled,local           /etc/crowdsec/collections/custom_collection.yaml   


And the output of
cscli collections inspect pierre42100/custom
: (dependencies are empty, but it should not)

type: collections
name: pierre42100/custom
file_name: custom_collection.yaml
dependencies: {}
local_path: /etc/crowdsec/collections/custom_collection.yaml
downloadpath: ""
up_to_date: true
tainted: false
installed: true
local: true

Current metrics: 


What should I do to address this?

Thank you in advance for your help!
Was this page helpful?
Create a local collection - CrowdSec