From 06981a0b4f159cb3644c5e19586f77e4f4fa7ba8 Mon Sep 17 00:00:00 2001 From: nacho Date: Sun, 26 Nov 2023 19:30:41 +0100 Subject: [PATCH] Add Earthly documentation --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 76fa71c..d4a667f 100755 --- a/README.md +++ b/README.md @@ -133,6 +133,13 @@ If matching_attributes are not set, the list is matched against any type of attr See [PyMISPWarningLists](https://github.com/MISP/PyMISPWarningLists) for a python interface to warning lists. +# Using warning lists in Earthly builds + +Lists are exposed to Earthly builds through the target `export-lists`. Earthfiles can directly reference them in their copy statements as follows: +```earthly +COPY github.com/MISP/misp-warninglists[:commit]+export-lists/lists//list.json ./ +``` + # License MISP warning-lists are licensed under [CC0 1.0 Universal (CC0 1.0)](https://creativecommons.org/publicdomain/zero/1.0/) - Public Domain Dedication. If a specific author of a warning-list (or associated source) wants to license it under a different license, a pull request can be requested.