@@ -47,16 +47,30 @@ def test_log_list(self):
4747 'options' : {},
4848 'secret_data' : secret_data ,
4949 'schema' : 'aws_access_key' ,
50- 'keyword' : 'Create' ,
50+ # 'keyword': 'Create',
51+ # 'query': {
52+ # 'region_name': 'us-east-1',
53+ # 'LookupAttributes': [
54+ # {'AttributeKey': 'ResourceName', 'AttributeValue': 'jihyung.song'}
55+ # ],
56+ # 'resource_type': 'AWS::IAM::User'
57+ # },
5158 'query' : {
5259 'region_name' : 'ap-northeast-2' ,
5360 'LookupAttributes' : [
54- {'AttributeKey' : 'ResourceName' , 'AttributeValue' : 'test ' }
61+ {'AttributeKey' : 'ResourceName' , 'AttributeValue' : 'i-01ee7c46efad30111 ' }
5562 ],
56- 'resource_type' : 'AWS::RDS::DBSubnetGroup '
63+ 'resource_type' : 'AWS::EC2::Instance '
5764 },
58- 'start' : '2022-03-20 21:40:43.789618' ,
59- 'end' : '2022-07-02 21:40:21.661581'
65+ # 'query': {
66+ # 'LookupAttributes': [
67+ # {'AttributeKey': 'AccessKeyId', 'AttributeValue': 'AKIATYAD7BLQE4XLKUFT'}
68+ # ],
69+ # 'resource_type': 'AWS::IAM::AccessKey',
70+ # 'region_name': 'us-east-1'
71+ # },
72+ 'start' : '2022-11-12T11:15:12.717Z' ,
73+ 'end' : '2022-11-14T11:15:12.717Z'
6074 }
6175
6276 resource_stream = self .monitoring .Log .list (params )
0 commit comments