ALTR Commands
Comprehensive ALTR data security platform commands and workflows for data governance and protection.
Command |
Description |
altr auth login |
Login to ALTR platform |
altr auth logout |
Logout from platform |
altr auth status |
Check authentication status |
altr auth token |
Manage API tokens |
export ALTR_API_KEY=<key> |
Set environment API key |
export ALTR_ENDPOINT=<url> |
Set platform endpoint |
Data Source Management
Command |
Description |
altr datasource list |
List all data sources |
altr datasource add --type snowflake |
Add Snowflake data source |
altr datasource add --type redshift |
Add Redshift data source |
altr datasource add --type bigquery |
Add BigQuery data source |
altr datasource test <source-id> |
Test data source connection |
altr datasource remove <source-id> |
Remove data source |
Data Classification
Command |
Description |
altr classify scan --source <source-id> |
Scan data source for classification |
altr classify rules list |
List classification rules |
altr classify rules create |
Create classification rule |
altr classify results --source <source-id> |
View classification results |
altr classify export --format json |
Export classification data |
Data Masking and Tokenization
Command |
Description |
altr mask create --table <table> --column <column> |
Create masking policy |
altr mask list |
List masking policies |
altr mask apply --policy <policy-id> |
Apply masking policy |
altr mask test --policy <policy-id> |
Test masking policy |
altr tokenize --table <table> --column <column> |
Create tokenization policy |
Access Control
Command |
Description |
altr access policies list |
List access policies |
altr access policies create |
Create access policy |
altr access grant --user <user> --resource <resource> |
Grant access |
altr access revoke --user <user> --resource <resource> |
Revoke access |
altr access audit --user <user> |
Audit user access |
Monitoring and Alerting
Command |
Description |
altr monitor start --source <source-id> |
Start monitoring data source |
altr monitor stop --source <source-id> |
Stop monitoring |
altr monitor status |
Check monitoring status |
altr alerts list |
List active alerts |
altr alerts configure --type <type> |
Configure alert rules |
Compliance Management
Command |
Description |
altr compliance scan --framework gdpr |
Scan for GDPR compliance |
altr compliance scan --framework ccpa |
Scan for CCPA compliance |
altr compliance scan --framework hipaa |
Scan for HIPAA compliance |
altr compliance report --framework <framework> |
Generate compliance report |
altr compliance status |
Check overall compliance status |
Data Discovery
Command |
Description |
altr discover scan --source <source-id> |
Discover sensitive data |
altr discover results --source <source-id> |
View discovery results |
altr discover export --format csv |
Export discovery results |
altr discover schedule --source <source-id> |
Schedule discovery scans |
Risk Assessment
Command |
Description |
altr risk assess --source <source-id> |
Assess data risk |
altr risk score --table <table> |
Get risk score for table |
altr risk trends |
View risk trends |
altr risk report |
Generate risk assessment report |
Data Lineage
Command |
Description |
altr lineage trace --table <table> |
Trace data lineage |
altr lineage map --source <source-id> |
Generate lineage map |
altr lineage export --format json |
Export lineage data |
altr lineage visualize --table <table> |
Visualize data lineage |
Policy Management
Command |
Description |
altr policy list |
List all policies |
altr policy create --type <type> |
Create new policy |
altr policy update <policy-id> |
Update existing policy |
altr policy delete <policy-id> |
Delete policy |
altr policy validate <policy-id> |
Validate policy |
User and Role Management
Command |
Description |
altr users list |
List all users |
altr users create --email <email> |
Create new user |
altr users update <user-id> |
Update user information |
altr users delete <user-id> |
Delete user |
altr roles assign --user <user-id> --role <role> |
Assign role to user |
Audit and Logging
Command |
Description |
altr audit logs --source <source-id> |
View audit logs |
altr audit export --start-date <date> |
Export audit logs |
altr audit search --query <query> |
Search audit logs |
altr audit retention --days <days> |
Set log retention period |
Integration Management
Command |
Description |
altr integrations list |
List available integrations |
altr integrations add --type siem |
Add SIEM integration |
altr integrations configure <integration-id> |
Configure integration |
altr integrations test <integration-id> |
Test integration |
altr integrations remove <integration-id> |
Remove integration |
Data Encryption
Command |
Description |
altr encrypt enable --table <table> |
Enable encryption for table |
altr encrypt disable --table <table> |
Disable encryption |
altr encrypt keys list |
List encryption keys |
altr encrypt keys rotate <key-id> |
Rotate encryption key |
altr encrypt status --table <table> |
Check encryption status |
Backup and Recovery
Command |
Description |
altr backup create --source <source-id> |
Create data backup |
altr backup list |
List available backups |
altr backup restore <backup-id> |
Restore from backup |
altr backup schedule --source <source-id> |
Schedule automatic backups |
altr backup verify <backup-id> |
Verify backup integrity |
Command |
Description |
altr performance metrics |
View performance metrics |
altr performance optimize --source <source-id> |
Optimize performance |
altr performance alerts |
Configure performance alerts |
altr performance report |
Generate performance report |
Configuration Management
Command |
Description |
altr config show |
Show current configuration |
altr config set <key> <value> |
Set configuration value |
altr config reset |
Reset to default configuration |
altr config export |
Export configuration |
altr config import --file <file> |
Import configuration |
API Management
Command |
Description |
curl -H "Authorization: Bearer <token>" <endpoint> |
API authentication |
GET /api/v1/datasources |
List data sources via API |
POST /api/v1/policies |
Create policy via API |
GET /api/v1/compliance/status |
Get compliance status via API |
GET /api/v1/audit/logs |
Get audit logs via API |
Snowflake Integration
Command |
Description |
altr snowflake connect --account <account> |
Connect to Snowflake |
altr snowflake sync --database <database> |
Sync Snowflake database |
altr snowflake policies apply |
Apply policies to Snowflake |
altr snowflake monitor enable |
Enable Snowflake monitoring |
AWS Integration
Command |
Description |
altr aws connect --region <region> |
Connect to AWS |
altr aws s3 scan --bucket <bucket> |
Scan S3 bucket |
altr aws rds connect --instance <instance> |
Connect to RDS |
altr aws redshift connect --cluster <cluster> |
Connect to Redshift |
Google Cloud Integration
Command |
Description |
altr gcp connect --project <project> |
Connect to GCP |
altr gcp bigquery scan --dataset <dataset> |
Scan BigQuery dataset |
altr gcp storage scan --bucket <bucket> |
Scan Cloud Storage |
Microsoft Azure Integration
Command |
Description |
altr azure connect --subscription <subscription> |
Connect to Azure |
altr azure sql scan --server <server> |
Scan Azure SQL |
altr azure storage scan --account <account> |
Scan Azure Storage |
Reporting and Analytics
Command |
Description |
altr reports generate --type compliance |
Generate compliance report |
altr reports generate --type risk |
Generate risk report |
altr reports schedule --type <type> |
Schedule report generation |
altr reports export --format pdf |
Export report as PDF |
altr analytics dashboard |
Open analytics dashboard |
Automation and Workflows
Command |
Description |
altr workflows list |
List automation workflows |
altr workflows create --name <name> |
Create new workflow |
altr workflows run <workflow-id> |
Run workflow |
altr workflows schedule <workflow-id> |
Schedule workflow |
altr workflows logs <workflow-id> |
View workflow logs |
Environment Variables
Variable |
Description |
ALTR_API_KEY |
API authentication key |
ALTR_ENDPOINT |
Platform endpoint URL |
ALTR_TIMEOUT |
Request timeout |
ALTR_LOG_LEVEL |
Logging level |
ALTR_CONFIG_FILE |
Configuration file path |
Configuration Files
File |
Description |
altr.config.json |
Main configuration file |
altr-policies.yml |
Policy definitions |
altr-datasources.yml |
Data source configurations |
.altr-credentials |
Stored credentials |
Troubleshooting
Command |
Description |
altr debug --log-level debug |
Enable debug logging |
altr debug connectivity |
Test connectivity |
altr debug permissions |
Check permissions |
altr debug validate |
Validate configuration |
altr support logs |
Generate support logs |