Auditing Support
See original GitHub issueHi @derjust,
I am working on the auditing support for spring-data-dynamodb. https://github.com/vitolimandibhrata/spring-data-dynamodb/commits/auditing-support
Currently, it can only enable the auditing support via Java Configuration.
If you are not working on the auditing support, I can try to spend sometime to complete the code and hopefully it can be merged to your project.
Please do let me know.
Cheers,
Vito
Sample Configuration File with Auditing Support
@Configuration
@EnableDynamoDBRepositories(
basePackages = {"com.example.repository.dynamodb"}
)
@EnableDynamoDBAuditing
public class DynamoDBConfig extends AbstractDynamoDBConfiguration {
@Value("${aws.dynamodb.endpoint}")
private String amazonDynamoDBEndpoint;
@Value("${aws.accessKey}")
private String amazonAWSAccessKey;
@Value("${aws.secretKey}")
private String amazonAWSSecretKey;
@Override
protected String getMappingBasePackage() {
return "com.example.domain";
}
@Bean
public AmazonDynamoDB amazonDynamoDB() {
AmazonDynamoDB amazonDynamoDB = new AmazonDynamoDBClient(
amazonAWSCredentials());
if (StringUtils.isNotEmpty(amazonDynamoDBEndpoint)) {
amazonDynamoDB.setEndpoint(amazonDynamoDBEndpoint);
}
return amazonDynamoDB;
}
@Bean
public AWSCredentials amazonAWSCredentials() {
return new BasicAWSCredentials(amazonAWSAccessKey, amazonAWSSecretKey);
}
}
Issue Analytics
- State:
- Created 8 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Audit Support & Preparation Services | Centri
With our audit support services, we'll serve as a liason between you and your external auditing firm while assisting in financial document ...
Read more >What is Auditing support? - LinuxQuestions.org
Auditing is logging of all accesses and modifications of files. Logging is required for high-security systems as an audit trail to make sure ......
Read more >Outsource Audit Support Services | QXAS USA
The QXAS Inc Audit Support team takes the tedium out of auditing without putting a strain on the auditor's time, costs and manpower....
Read more >Audit Support Services - Guidehouse
Perhaps most critically, we provide an unparalleled level of leadership support that enables your organization to achieve and sustain compliance with confidence ...
Read more >Audit & Audit Support | Vistra
How can we help? To discuss how Vistra can help you with Audit & Audit Support, simply complete this form and one of...
Read more >Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The upcomming holidays will be helpful for sure to catch up here on various issues. Maybe having some time even this week to address the new AWS library
Hi @OllyJFox ,
I have managed to fix the integration test issue. You may try the code at https://github.com/vitolimandibhrata/spring-data-dynamodb/tree/auditing-gosling I have updated the base code to spring-data-dynamodb-4.3.1
Take a look at org.socialsignin.spring.data.dynamodb.config.AuditingViaJavaConfigRepositoriesIT as the sample code.