Skip to content

Commit c6e65a1

Browse files
authored
Create audit.sh
1 parent 46dfcf9 commit c6e65a1

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

audit.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
# En audit.sh
3+
check_ssl() {
4+
openssl s_client -connect $1:443 | grep "TLSv1.3"
5+
}
6+
check_db_encryption() {
7+
psql -c "SHOW ssl;" | grep "on"
8+
}

0 commit comments

Comments
 (0)