Skip to main content
Glama
check-secrets.sh711 B
#!/bin/bash # Colors for output RED='\033[0;31m' GREEN='\033[0;32m' YELLOW='\033[0;33m' NC='\033[0m' # No Color echo -e "${YELLOW}Scanning repository for potential secrets...${NC}" # Run detect-secrets to find potential secrets detect-secrets scan --baseline .secrets.baseline # Check if any secrets were found if [ $? -eq 0 ]; then echo -e "${GREEN}No new secrets detected in code.${NC}" else echo -e "${RED}Potential secrets detected in your code!${NC}" echo -e "${YELLOW}Please review the output above and fix any issues.${NC}" echo -e "${YELLOW}If these are false positives, update the baseline with:${NC}" echo -e "${YELLOW}detect-secrets scan --baseline .secrets.baseline${NC}" fi

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Cloud-Thinker-AI/postgres-mcp-pro-plus'

If you have feedback or need assistance with the MCP directory API, please join our Discord server