ciscosecurity / tr-05-serverless-relay Goto Github PK
View Code? Open in Web Editor NEWThreat Response Serverless Relay Template
Threat Response Serverless Relay Template
Examining the built-in SecureX dashboard modules - the tile API endpoint requires a value for tile_id
rather than tile-id
as specified in the schema.
Schema validation failed when attempting to add tiles to the dashboard.
{
"errors": [{
"module_instance_id": "XXXX",
"module_type_id": "XXXX",
"code": "invalid argument",
"message": "{'tile-id': ['Missing data for required field.'], 'tile_id': ['Unknown field.']}",
"type": "fatal",
"module": "Test Relay"
}]
}
trying to run app.py of the base, after going through the steps. the virtual env is setup, the dependencies installed as per the text file. However, flask is not working correctly due to the Jinja depedency. Flask version 1 relying on the other lib's escape method, which no longer exists.
after updating to flask 2.2.3 in the venv, it works well. I haven't checked the full zappa deployment yet (getting there soon).
"Jinja is a dependency of Flask and Flask V1.X.X uses the escape module from Jinja, however recently support for the escape module was dropped in newer versions of Jinja." (source https://stackoverflow.com/questions/71718167/importerror-cannot-import-name-escape-from-jinja2)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.