Dinis Cruz Profile picture
CTO and CISO of @GlasswallCDR, Director of @opensecsummit, OWASP Project Leader, Open Source Contributor, Drummer. Personal account, all opinions are my own
Mar 13, 2021 12 tweets 6 min read
I was looking at how AWS Cognito works on the client-side (using AWS Amplify Auth) and it is interesting how it actually gets full (temp) AWS Credentials

everything you will see below is done by AWS Amplify Auth class between these two breakpoints there are 7 XHR calls made (which implement the login workflow as described in docs.aws.amazon.com/cognito/latest… and docs.aws.amazon.com/cognito-user-i…)
Mar 12, 2021 4 tweets 2 min read
3rd session this week on the Glamorous Toolkit with @girba (4pm), where we are going to continue the deep dive on the technology (and how it creates @swardley maps :) )

See the videos from the previous two sessions at open-security-summit.org/sessions/2021/… and open-security-summit.org/sessions/2021/… this is so cool Image
Feb 16, 2020 5 tweets 2 min read
Here is a cool trick in Python to automatically catch exceptions and return the error used like this
Jan 11, 2020 70 tweets 25 min read
In the twitter thread I got to the point where I needed a new Lambda function,

In this thread I'm going to show how I create, update and invoke lambda functions in 1 to 2 seconds (which makes a massive difference in the OODA and REPL lambda dev workflow) First step is to create two files locally

osbot_browser/lambdas/gw/sow.py - the lambda code

test_QA/lambdas/gw/test_sow.py - test test file

and execute the test file (which invokes the lambda function directly, i.e. locally on my dev box)
Jan 11, 2020 38 tweets 14 min read
Ok, time for some relax coding time :)

I'm going to continue the automation of creating SOW documents from Jira (see for more details)

First step is to make sure all code is checked in Image actually the previous thread starts on this tweet:
Jan 9, 2020 5 tweets 3 min read
Here is a first PoC for the automatic generation of SOW serverless reports from Jira data (we have to respond to a big SOS at @GlasswallGlobal and we are going to automate the whole flow, vs creating a massive unmaintainable word doc) @GlasswallGlobal here is what is happening in that command
Nov 29, 2019 14 tweets 5 min read
Ok Powerpoint online, how come these two lines have the same font type and size?

#PowerpointOnline #DesignFail ok , in what is user journey does this style template makes any sense?

(note I'm going to use this thread to capture Design Issues I find in Powerpoint online so that my team at Glasswall doesn't make the same mistakes)