@@ -116,6 +116,29 @@ def __init__(self, api_client=None):
116116 api_client = api_client ,
117117 )
118118
119+ self ._get_aws_scan_options_endpoint = _Endpoint (
120+ settings = {
121+ "response_type" : (AwsScanOptionsResponse ,),
122+ "auth" : ["apiKeyAuth" , "appKeyAuth" ],
123+ "endpoint_path" : "/api/v2/agentless_scanning/accounts/aws/{account_id}" ,
124+ "operation_id" : "get_aws_scan_options" ,
125+ "http_method" : "GET" ,
126+ "version" : "v2" ,
127+ },
128+ params_map = {
129+ "account_id" : {
130+ "required" : True ,
131+ "openapi_types" : (str ,),
132+ "attribute" : "account_id" ,
133+ "location" : "path" ,
134+ },
135+ },
136+ headers_map = {
137+ "accept" : ["application/json" ],
138+ },
139+ api_client = api_client ,
140+ )
141+
119142 self ._list_aws_on_demand_tasks_endpoint = _Endpoint (
120143 settings = {
121144 "response_type" : (AwsOnDemandListResponse ,),
@@ -242,6 +265,23 @@ def get_aws_on_demand_task(
242265
243266 return self ._get_aws_on_demand_task_endpoint .call_with_http_info (** kwargs )
244267
268+ def get_aws_scan_options (
269+ self ,
270+ account_id : str ,
271+ ) -> AwsScanOptionsResponse :
272+ """Get AWS Scan Options.
273+
274+ Fetches the Agentless scan options for an activated account.
275+
276+ :param account_id: The ID of an AWS account.
277+ :type account_id: str
278+ :rtype: AwsScanOptionsResponse
279+ """
280+ kwargs : Dict [str , Any ] = {}
281+ kwargs ["account_id" ] = account_id
282+
283+ return self ._get_aws_scan_options_endpoint .call_with_http_info (** kwargs )
284+
245285 def list_aws_on_demand_tasks (
246286 self ,
247287 ) -> AwsOnDemandListResponse :
@@ -257,7 +297,7 @@ def list_aws_on_demand_tasks(
257297 def list_aws_scan_options (
258298 self ,
259299 ) -> AwsScanOptionsListResponse :
260- """Get AWS Scan Options.
300+ """List AWS Scan Options.
261301
262302 Fetches the scan options configured for AWS accounts.
263303
0 commit comments