BuildSlackBlocksFromIndex
XSOAR Lab Updates Pack.#
This Script is part of theThe script is doing the following things:
- Extract the
index.zip
file from the production public bucket -marketplace-dist
. - Filter new packs since the given date.
- Retrieve data from the marketplace metadata file for each pack.
- Build the Slack
blocks
object. - Stores in context at the following paths:
- Pack: a list of dicts, each one with subset of the pack's marketplace metadata file.
- LastRun: The updated value of the last run, i.e. after new packs calculation.
- Blocks: The Slack
blocks
object. In case no new packs were found, storesno new packs
.