Skip to content

Hide Cassandra error details - #22

Merged
c-w merged 1 commit into
masterfrom
hide-errors
Feb 14, 2018
Merged

c-w merged 1 commit into
masterfrom
hide-errors

Conversation

@c-w

@c-w c-w commented Feb 13, 2018

Copy link
Copy Markdown
Contributor

According to @anthturner it's not good practice to expose detailed error messages from the database to clients as this makes it easier for an attacker to figure out potential attack vectors.

This pull request masks the Cassandra error messages in favor of more generic ones that don't risk leaking sensitive information.

See CatalystCode/project-fortis-pipeline#222

@c-w
c-w requested review from Smarker and anthturner February 13, 2018 20:20

@anthturner anthturner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@c-w
c-w merged commit 613aab8 into master Feb 14, 2018
@c-w
c-w deleted the hide-errors branch February 14, 2018 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants