Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
security: Add SBOM reports
Clémence Lesné1944971a4927
diff --git a/.github/workflows/pipeline.yaml b/.github/workflows/pipeline.yamlindex ad51acf..b8cd0ab 100644--- a/.github/workflows/pipeline.yaml+++ b/.github/workflows/pipeline.yaml@@ -83,6 +83,8 @@ jobs:name: Create releaseneeds:- init+ - sast-creds+ - sast-semgreppermissions:# Allow to create releasescontents: write@@ -117,6 +119,27 @@ jobs:});return data.id+ attest-sbom:+ name: Attest - SBOM+ runs-on: ubuntu-22.04+ needs:+ - create-release+ - init+ steps:+ - name: Checkout+ uses: actions/[email protected]++ - name: Init Syft+ uses: anchore/sbom-action/[email protected]++ - name: Run tests+ run: make sbom version_full=${{ needs.init.outputs.VERSION_FULL }}++ - name: Upload results to GitHub Security+ uses: anchore/sbom-action/[email protected]+ with:+ sbom-artifact-match: sbom-reports\\/.+\\.json$+publish-release:name: Publish releasepermissions:diff --git a/.gitignore b/.gitignoreindex ea735c2..7b2a599 100644--- a/.gitignore+++ b/.gitignore@@ -747,3 +747,6 @@ config*.yaml# Tests reportstest-reports/++# SBOM reports+sbom-reports/diff --git a/.syft.yaml b/.syft.yamlnew file mode 100644index 0000000..2c2c867--- /dev/null+++ b/.syft.yaml@@ -0,0 +1,10 @@+exclude:+ - ./docs+ - ./examples+ - ./tests++python:+ guess-unpinned-requirements: true++source:+ name: Call Center AIdiff --git a/Makefile b/Makefileindex b342879..f4ad43c 100644--- a/Makefile+++ b/Makefile@@ -42,6 +42,9 @@ brew:@echo "➡️ Installing Azure Dev tunnels..."brew install devtunnel+ @echo "➡️ Installing Syft..."+ brew install syft+@echo "➡️ Installing Twilio CLI..."brew tap twilio/brew && brew install twilio@@ -180,3 +183,10 @@ watch-call:curl -s "$(endpoint)/call?phone_number=%2B$(phone_number)" | yq --prettyPrint '.[0] | {"phone_number": .phone_number, "claim": .claim, "reminders": .reminders}'; \sleep 3; \done++sbom:+ @echo "🔍 Generating SBOM..."+ syft scan \+ --source-version $(version_full) \+ --output spdx-json=./sbom-reports/$(version_full).json \+ .