Skip to content

Commit 337777f

Browse files
committed
CBQE-8314:adding tests for encryption
Change-Id: If2fa6895c5a6c512e1817bd1de52d3f987b2b96b Reviewed-on: https://review.couchbase.org/c/TAF/+/227038 Tested-by: Build Bot <build@couchbase.com> Reviewed-by: Balakumaran G <balakumaran.gopal@couchbase.com>
1 parent d8c5edf commit 337777f

2 files changed

Lines changed: 38 additions & 0 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
ns_server.encryption_at_rest.EncryptionAtRest:
2+
3+
test_bucket_encryption_auto_rotation,nodes_init=3,services_init=kv-kv:index-kv:backup,bucket_spec=multi_bucket.range_scan_data_load,enable_encryption_at_rest=True,enable_config_encryption_at_rest=True,enable_log_encryption_at_rest=False,config_dekRotationInterval=100,log_dekRotationInterval=100,log_dekLifetime=0,config_dekLifetime=100,rotationIntervalInSeconds=1000,encryptionAtRestDekRotationInterval=100,kv_quota_percent=50,rotationIntervalInSeconds=1000,log_dekRotationInterval=100,log_dekLifetime=0,encryptionAtRestDekRotationInterval=100,enable_audit_encryption_at_rest=True,enable_config_encryption_at_rest=True,audit_dekRotationInterval=100,config_dekRotationInterval=100,config_dekLifetime=100,enable_encryption_at_rest=True,enable_log_encryption_at_rest=False,GROUP=P0
4+
5+
test_bucket_encryption_auto_rotation,nodes_init=6,services_init=kv-fts-n1ql-kv-kv:index-kv:backup,bucket_spec=multi_bucket.buckets_for_rebalance_tests,enable_encryption_at_rest=True,enable_config_encryption_at_rest=True,enable_log_encryption_at_rest=False,config_dekRotationInterval=100,log_dekRotationInterval=100,log_dekLifetime=0,config_dekLifetime=100,rotationIntervalInSeconds=1000,encryptionAtRestDekRotationInterval=100,kv_quota_percent=50,rotationIntervalInSeconds=1000,log_dekRotationInterval=100,log_dekLifetime=0,encryptionAtRestDekRotationInterval=100,enable_audit_encryption_at_rest=True,enable_config_encryption_at_rest=True,audit_dekRotationInterval=100,config_dekRotationInterval=200,config_dekLifetime=100,enable_encryption_at_rest=True,enable_log_encryption_at_rest=False,GROUP=P1
6+
7+
test_bucket_encryption_at_rest,nodes_init=3,services_init=kv-kv:index-kv:backup,bucket_spec=multi_bucket.range_scan_data_load,enable_encryption_at_rest=False,enable_config_encryption_at_rest=True,enable_log_encryption_at_rest=False,config_dekRotationInterval=100,log_dekRotationInterval=100,log_dekLifetime=0,config_dekLifetime=100,rotationIntervalInSeconds=1000,encryptionAtRestDekRotationInterval=100,kv_quota_percent=50,rotationIntervalInSeconds=1000,log_dekRotationInterval=100,log_dekLifetime=0,encryptionAtRestDekRotationInterval=100,enable_audit_encryption_at_rest=True,enable_config_encryption_at_rest=False,audit_dekRotationInterval=100,config_dekRotationInterval=100,config_dekLifetime=100,enable_encryption_at_rest=False,enable_log_encryption_at_rest=False,GROUP=P0
8+
9+
test_bucket_encryption_at_rest,nodes_init=6,services_init=kv-fts-n1ql-kv-kv:index-kv:backup,bucket_spec=multi_bucket.range_scan_data_load,enable_encryption_at_rest=False,enable_config_encryption_at_rest=True,enable_log_encryption_at_rest=False,config_dekRotationInterval=100,log_dekRotationInterval=100,log_dekLifetime=0,config_dekLifetime=100,rotationIntervalInSeconds=1000,encryptionAtRestDekRotationInterval=100,kv_quota_percent=50,rotationIntervalInSeconds=1000,log_dekRotationInterval=100,log_dekLifetime=0,encryptionAtRestDekRotationInterval=100,enable_audit_encryption_at_rest=True,enable_config_encryption_at_rest=False,audit_dekRotationInterval=100,config_dekRotationInterval=100,config_dekLifetime=100,enable_encryption_at_rest=False,enable_log_encryption_at_rest=False,GROUP=P1
10+
11+
test_system_event_logs,nodes_init=2,services_init=kv-kv,bucket_spec=single_bucket.default,infra_log_level=info,log_level=info,enable_encryption_at_rest=True,enable_config_encryption_at_rest=True,enable_log_encryption_at_rest=False,config_dekRotationInterval=100,log_dekRotationInterval=100,log_dekLifetime=0,config_dekLifetime=100,rotationIntervalInSeconds=1000,encryptionAtRestDekRotationInterval=100,kv_quota_percent=50,rotationIntervalInSeconds=1000,log_dekRotationInterval=100,log_dekLifetime=0,encryptionAtRestDekRotationInterval=100,enable_config_encryption_at_rest=True,config_dekRotationInterval=100,config_dekLifetime=100,enable_encryption_at_rest=True,enable_log_encryption_at_rest=False,GROUP=P0
12+
13+
test_system_event_logs,nodes_init=6,services_init=kv-fts-n1ql-kv-kv:index-kv:backup,bucket_spec=single_bucket.default,infra_log_level=info,log_level=info,enable_encryption_at_rest=True,enable_config_encryption_at_rest=True,enable_log_encryption_at_rest=False,config_dekRotationInterval=100,log_dekRotationInterval=100,log_dekLifetime=0,config_dekLifetime=100,rotationIntervalInSeconds=1000,encryptionAtRestDekRotationInterval=100,kv_quota_percent=50,rotationIntervalInSeconds=1000,log_dekRotationInterval=100,log_dekLifetime=0,encryptionAtRestDekRotationInterval=100,enable_config_encryption_at_rest=True,config_dekRotationInterval=100,config_dekLifetime=100,enable_encryption_at_rest=True,enable_log_encryption_at_rest=False,GROUP=P1
14+
15+
test_bucket_encryption_auto_rotation,nodes_init=3,services_init=kv-kv:index-kv:backup,bucket_spec=multi_bucket.range_scan_data_load,enable_encryption_at_rest=True,enable_config_encryption_at_rest=True,enable_log_encryption_at_rest=True,config_dekRotationInterval=100,log_dekRotationInterval=100,log_dekLifetime=0,config_dekLifetime=10,rotationIntervalInSeconds=100,encryptionAtRestDekRotationInterval=100,kv_quota_percent=50,rotationIntervalInSeconds=100,log_dekRotationInterval=100,log_dekLifetime=0,encryptionAtRestDekRotationInterval=100,enable_audit_encryption_at_rest=True,enable_config_encryption_at_rest=True,audit_dekRotationInterval=100,config_dekRotationInterval=100,config_dekLifetime=0,enable_encryption_at_rest=True,enable_log_encryption_at_rest=True,GROUP=P0
16+
17+
test_bucket_encryption_auto_rotation,nodes_init=6,services_init=kv-fts-n1ql-kv-kv:index-kv:backup,bucket_spec=multi_bucket.buckets_for_rebalance_tests,enable_encryption_at_rest=True,enable_config_encryption_at_rest=True,enable_log_encryption_at_rest=True,config_dekRotationInterval=100,log_dekRotationInterval=100,log_dekLifetime=0,config_dekLifetime=10,rotationIntervalInSeconds=100,encryptionAtRestDekRotationInterval=100,kv_quota_percent=50,rotationIntervalInSeconds=100,log_dekRotationInterval=100,log_dekLifetime=0,encryptionAtRestDekRotationInterval=100,enable_audit_encryption_at_rest=True,enable_config_encryption_at_rest=True,audit_dekRotationInterval=100,config_dekRotationInterval=200,config_dekLifetime=0,enable_encryption_at_rest=True,enable_log_encryption_at_rest=True,GROUP=P1
18+
19+
test_bucket_encryption_at_rest,nodes_init=3,services_init=kv-kv:index-kv:backup,bucket_spec=multi_bucket.range_scan_data_load,enable_encryption_at_rest=False,enable_config_encryption_at_rest=True,enable_log_encryption_at_rest=True,config_dekRotationInterval=100,log_dekRotationInterval=100,log_dekLifetime=0,config_dekLifetime=10,rotationIntervalInSeconds=100,encryptionAtRestDekRotationInterval=100,kv_quota_percent=50,rotationIntervalInSeconds=100,log_dekRotationInterval=100,log_dekLifetime=0,encryptionAtRestDekRotationInterval=100,enable_audit_encryption_at_rest=True,enable_config_encryption_at_rest=False,audit_dekRotationInterval=100,config_dekRotationInterval=100,config_dekLifetime=0,enable_encryption_at_rest=False,enable_log_encryption_at_rest=True,GROUP=P1
20+
21+
test_bucket_encryption_at_rest,nodes_init=6,services_init=kv-fts-n1ql-kv-kv:index-kv:backup,bucket_spec=multi_bucket.range_scan_data_load,enable_encryption_at_rest=False,enable_config_encryption_at_rest=True,enable_log_encryption_at_rest=True,config_dekRotationInterval=100,log_dekRotationInterval=100,log_dekLifetime=0,config_dekLifetime=10,rotationIntervalInSeconds=100,encryptionAtRestDekRotationInterval=100,kv_quota_percent=50,rotationIntervalInSeconds=100,log_dekRotationInterval=100,log_dekLifetime=0,encryptionAtRestDekRotationInterval=100,enable_audit_encryption_at_rest=True,enable_config_encryption_at_rest=False,audit_dekRotationInterval=100,config_dekRotationInterval=100,config_dekLifetime=0,enable_encryption_at_rest=False,enable_log_encryption_at_rest=True,GROUP=P1
22+
23+
test_rapid_dek_rotation_with_crud_and_recovery,nodes_init=3,services_init=kv-kv-kv,bucket_spec=analytics.multi_bucket,graceful=false,GROUP=P0
24+
25+
test_rapid_dek_rotation_with_crud_and_recovery,nodes_init=3,services_init=kv-kv-kv,bucket_spec=analytics.multi_bucket,GROUP=P0
26+
27+
test_system_event_logs,nodes_init=2,services_init=kv-kv,bucket_spec=single_bucket.default,infra_log_level=info,log_level=info,enable_encryption_at_rest=True,enable_config_encryption_at_rest=True,enable_log_encryption_at_rest=True,config_dekRotationInterval=100,log_dekRotationInterval=100,log_dekLifetime=0,config_dekLifetime=10,rotationIntervalInSeconds=100,encryptionAtRestDekRotationInterval=100,kv_quota_percent=50,rotationIntervalInSeconds=100,log_dekRotationInterval=100,log_dekLifetime=0,encryptionAtRestDekRotationInterval=100,enable_config_encryption_at_rest=True,config_dekRotationInterval=100,config_dekLifetime=100,enable_encryption_at_rest=True,enable_log_encryption_at_rest=True,GROUP=P0
28+
29+
test_system_event_logs,nodes_init=6,services_init=kv-fts-n1ql-kv-kv:index-kv:backup,bucket_spec=single_bucket.default,infra_log_level=info,log_level=info,enable_encryption_at_rest=True,enable_config_encryption_at_rest=True,enable_log_encryption_at_rest=True,config_dekRotationInterval=100,log_dekRotationInterval=100,log_dekLifetime=0,config_dekLifetime=10,rotationIntervalInSeconds=100,encryptionAtRestDekRotationInterval=100,kv_quota_percent=50,rotationIntervalInSeconds=100,log_dekRotationInterval=100,log_dekLifetime=0,encryptionAtRestDekRotationInterval=100,enable_config_encryption_at_rest=True,config_dekRotationInterval=100,config_dekLifetime=100,enable_encryption_at_rest=True,enable_log_encryption_at_rest=True,GROUP=P1

conf/ns_server/min_replica_set.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,13 @@ bucket_param_tests.bucket_param_update.BucketParamTest:
99
test_minimum_replica_setting,num_items=10000,nodes_init=4,bucket_size=256,new_minimum_replica=4,expect_min_replica_update_fail=True,GROUP=P0
1010
test_minimum_replica_setting,num_items=10000,nodes_init=4,bucket_size=256,new_minimum_replica=-1,expect_min_replica_update_fail=True,GROUP=P0
1111

12+
#############################################Encryption At Rest#######################################################################################
13+
test_bucket_encryption_properties,nodes_init=3,services_init=kv-kv:index-kv:backup,bucket_spec=multi_bucket.range_scan_data_load,enable_encryption_at_rest=False,enable_config_encryption_at_rest=True,enable_log_encryption_at_rest=False,config_dekRotationInterval=1000,log_dekRotationInterval=100,log_dekLifetime=0,config_dekLifetime=10,rotationIntervalInSeconds=200,encryptionAtRestDekRotationInterval=100,kv_quota_percent=50,rotationIntervalInSeconds=1000,log_dekRotationInterval=100,log_dekLifetime=0,encryptionAtRestDekRotationInterval=100,enable_audit_encryption_at_rest=True,enable_config_encryption_at_rest=False,audit_dekRotationInterval=100,config_dekRotationInterval=100,config_dekLifetime=0,enable_encryption_at_rest=False,enable_log_encryption_at_rest=False,Group=P0_enc
14+
test_bucket_encryption_properties,nodes_init=6,services_init=kv-fts-n1ql-kv-kv:index-kv:backup,bucket_spec=multi_bucket.range_scan_data_load,enable_encryption_at_rest=False,enable_config_encryption_at_rest=True,enable_log_encryption_at_rest=False,config_dekRotationInterval=100,log_dekRotationInterval=100,log_dekLifetime=0,config_dekLifetime=1000,rotationIntervalInSeconds=100,encryptionAtRestDekRotationInterval=1000,kv_quota_percent=50,rotationIntervalInSeconds=500,log_dekRotationInterval=100,log_dekLifetime=0,encryptionAtRestDekRotationInterval=100,enable_audit_encryption_at_rest=True,enable_config_encryption_at_rest=False,audit_dekRotationInterval=100,config_dekRotationInterval=100,config_dekLifetime=0,enable_encryption_at_rest=False,enable_log_encryption_at_rest=False,Group=P0_enc
15+
test_enable_log_encryption_and_test,nodes_init=6,services_init=kv-fts-n1ql-kv-kv:index-kv:backup,bucket_spec=multi_bucket.range_scan_data_load,enable_encryption_at_rest=False,enable_config_encryption_at_rest=True,enable_log_encryption_at_rest=False,config_dekRotationInterval=100,log_dekRotationInterval=100,log_dekLifetime=0,config_dekLifetime=100,rotationIntervalInSeconds=100,encryptionAtRestDekRotationInterval=100,kv_quota_percent=50,rotationIntervalInSeconds=100,log_dekRotationInterval=100,log_dekLifetime=0,encryptionAtRestDekRotationInterval=100,enable_audit_encryption_at_rest=True,enable_config_encryption_at_rest=False,audit_dekRotationInterval=100,config_dekRotationInterval=100,config_dekLifetime=0,enable_encryption_at_rest=False,enable_log_encryption_at_rest=False,Group=P0_enc
16+
test_enable_config_encryption_and_test,nodes_init=3,services_init=kv-kv:index-kv:backup,bucket_spec=multi_bucket.range_scan_data_load,enable_encryption_at_rest=False,enable_config_encryption_at_rest=True,enable_log_encryption_at_rest=False,config_dekRotationInterval=1000,log_dekRotationInterval=100,log_dekLifetime=0,config_dekLifetime=100,rotationIntervalInSeconds=200,encryptionAtRestDekRotationInterval=1000,kv_quota_percent=50,rotationIntervalInSeconds=300,log_dekRotationInterval=100,log_dekLifetime=0,encryptionAtRestDekRotationInterval=100,enable_audit_encryption_at_rest=True,enable_config_encryption_at_rest=False,audit_dekRotationInterval=100,config_dekRotationInterval=100,config_dekLifetime=0,enable_encryption_at_rest=False,enable_log_encryption_at_rest=False,Group=P0_enc
17+
test_enable_log_encryption_and_test,nodes_init=6,services_init=kv-fts-n1ql-kv-kv:index-kv:backup,bucket_spec=multi_bucket.range_scan_data_load,enable_encryption_at_rest=False,enable_config_encryption_at_rest=True,enable_log_encryption_at_rest=False,config_dekRotationInterval=120,log_dekRotationInterval=100,log_dekLifetime=0,config_dekLifetime=10,rotationIntervalInSeconds=100,encryptionAtRestDekRotationInterval=100,kv_quota_percent=50,rotationIntervalInSeconds=100,log_dekRotationInterval=100,log_dekLifetime=0,encryptionAtRestDekRotationInterval=100,enable_audit_encryption_at_rest=True,enable_config_encryption_at_rest=False,audit_dekRotationInterval=100,config_dekRotationInterval=100,config_dekLifetime=0,enable_encryption_at_rest=False,enable_log_encryption_at_rest=False,Group=P0_enc
18+
test_enable_log_encryption_and_test,nodes_init=3,services_init=kv-kv:index-kv:backup,bucket_spec=multi_bucket.range_scan_data_load,enable_encryption_at_rest=False,enable_config_encryption_at_rest=True,enable_log_encryption_at_rest=False,config_dekRotationInterval=1000,log_dekRotationInterval=100,log_dekLifetime=0,config_dekLifetime=10,rotationIntervalInSeconds=500,encryptionAtRestDekRotationInterval=1000,kv_quota_percent=50,rotationIntervalInSeconds=300,log_dekRotationInterval=100,log_dekLifetime=0,encryptionAtRestDekRotationInterval=100,enable_audit_encryption_at_rest=True,enable_config_encryption_at_rest=False,audit_dekRotationInterval=100,config_dekRotationInterval=100,config_dekLifetime=0,enable_encryption_at_rest=False,enable_log_encryption_at_rest=False,Group=P0_enc
19+
test_encryption_at_rest,nodes_init=6,services_init=kv-kv-kv-index-fts,bucket_spec=analytics.multi_bucket,enable_encryption_at_rest=True,enable_config_encryption_at_rest=True,enable_log_encryption_at_rest=True,config_dekRotationInterval=100,log_dekRotationInterval=10,log_dekLifetime=0,config_dekLifetime=10,enable_encryption_at_rest=True,rotationIntervalInSeconds=10,encryptionAtRestDekRotationInterval=10,use_https=False,Group=P0_enc
20+
test_encryption_at_rest,nodes_init=3,services_init=kv-kv-kv,bucket_spec=analytics.multi_bucket,enable_encryption_at_rest=True,enable_config_encryption_at_rest=True,enable_log_encryption_at_rest=True,config_dekRotationInterval=100,log_dekRotationInterval=10,log_dekLifetime=0,config_dekLifetime=10,enable_encryption_at_rest=True,rotationIntervalInSeconds=10,encryptionAtRestDekRotationInterval=10,use_https=Fals,next_rotation_time=100,Group=P0_enc
1221

0 commit comments

Comments
 (0)