DynamoDBSSHRecordStore implements SSHRecordStore { @Override public void log(final Principal principal, final String ip, final String service, final String instanceId) { X509CertUtils.logSSH(SSHLOGGER, principal, ip, service, instanceId); } DynamoDBSSHRecordStore(AmazonDynamoDB client, final String tableName, ZTSClientNotificationSenderImpl ztsClientNotificationSender); @Override SSHRecordStoreConnection getConnection(); @Override void setOperationTimeout(int opTimeout); @Override void clearConnections(); @Override void log(final Principal principal, final String ip, final String service,
                    final String instanceId); @Override boolean enableNotifications(NotificationManager notificationManager, RolesProvider rolesProvider, final String serverName);  }
@Test public void testLog() { DynamoDBSSHRecordStore store = new DynamoDBSSHRecordStore(dbClient, "Athenz-ZTS-Table", null); Principal principal = SimplePrincipal.create("user", "joe", "creds"); store.log(principal, "10.11.12.13", "athenz.api", "1234"); }