{"tool":"doctl","tool_display":"Doctl","intent":"add-database-firewall-rule","intent_display":"add database firewall rule","title":"Doctl Command: add database firewall rule","command_string":"doctl {d|databases} {fw|firewalls} {a|append} {database_id} --rule {droplet|k8s|ip_addr|tag|app}:{value}","raw_command_string":"doctl {d|databases} {fw|firewalls} {a|append} {database_id} --rule {droplet|k8s|ip_addr|tag|app}:{value}","description":"Exact CLI syntax to add database firewall rule using Doctl.","usage_scenario":"When updating security measures to include or restrict access to database.","scenario_context":"Always verify existing rules to avoid conflicts before adding new ones.","simulated_output":"$ doctl databases fw append 12345 --rule ip:192.168.1.10\n\nFirewall rules for database 12345:\n+----------------+-------------------+\n|      TYPE      |        VALUE       |\n+----------------+-------------------+\n|      ip       |     192.168.1.10   |\n+----------------+-------------------+","how_to_steps":["Identify the database ID using `doctl databases list`.","Run the command to append the firewall rule with the desired IP address."],"inferred_category":"Cloud Infrastructure","canonical_url":"https://www.syntaxstandard.com/doctl/add-database-firewall-rule"}