
                         4   S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  SSK	J
r
  SS	KJr  S
 rS rS rS rS r\R$                  " SSS9r\R$                  " SSSS9r\R$                  " SSSS9r\R$                  " SSS/SSS9r\R$                  " SSSS9r\R$                  " SS \R0                  " 5       SS!9r\R$                  " S"S#SS9r\R$                  " S$S%S&\R0                  " 5       SS'9r\R$                  " S(S)SS9r\R$                  " S*S+SS9rg,)-z=Common flags for the SCC RemediationIntent resource commands.    )absolute_import)division)print_function)unicode_literals)arg_parsers)base)concepts)concept_parsersc                  ,    [         R                  " SSS9$ )Norganizationz1The Google Cloud organization for the {resource}.name	help_textr	    ResourceParameterAttributeConfig     ?lib/googlecloudsdk/command_lib/scc/remediation_intents/flags.pyOrganizationAttributeConfigr      s    		2	2C
 r   c                  ,    [         R                  " SSS9$ )Nlocationz-The Google Cloud location for the {resource}.r   r   r   r   r   LocationAttributeConfigr   %   s    		2	2?
 r   c                  ,    [         R                  " SSS9$ )Nzremediation-intentz*The remediation intent for the {resource}.r   r   r   r   r    RemediationIntentAttributeConfigr   -   s    		2	2<
 r   c            	      d    [         R                  " SS[        5       [        5       [	        5       SS9$ )Nz:securityposture.organizations.locations.remediationIntentsremediationIntentF)resource_nameorganizationsIdlocationsIdremediationIntentsIddisable_auto_completers)r	   ResourceSpecr   r   r   r   r   r    GetRemediationIntentResourceSpecr#   5   s0    			B'13)+;=#
 r   c                 r    [         R                  R                  S[        5       SSS9R	                  U 5        g )Nremediationintentz The remediation intent resource.T)required)r
   ConceptParserForResourcer#   AddToParser)parsers    r   AddRemediationIntentResourceArgr+   A   s6    ++&((	 , 
 Kr   parentzw The parent resource to create the remediation intent under.
        Format: organizations/{org_id}/locations/{loc_id} )helpz--parentT)r-   r&   z--finding-namez Canonical name of the SCC finding
        Format: projects/{proj_id}/sources/{src_id}/locations/{loc_id}/findings/{finding_id} Fz--workflow-typezsemi-autonomousmanualz# Type of the workflow to be created)choicesr-   r&   z--etagzu Etag is an optional flag. If the provided Etag doesn't match the server generated Etag, the operation won't proceed.z--ri-from-filezl Path to the YAML file containing the remediation intent resource.
              Format: /path/to/file.yaml.)r-   typer&   z--update-maskze Comma separated string containing list of fields to be updated.
              Format: field1,field2.z--git-config-patha%   Path to the git config file in YAML format to raise the PR.
            Format: /path/to/file.yaml. Sample Config file:

              remote: origin
              main-branch-name: master
              branch-prefix: iac-remediation-
              reviewers: reviewer1,reviewer2
            GIT_SETTINGS)r-   metavarr0   r&   z--org-idz! The Google Cloud organization IDz--root-dir-pathz The relative path to the root directory for the terraform
    repository.
 If not specified, the default value
    is assumed to be the current directory.N)__doc__
__future__r   r   r   r   googlecloudsdk.callioper   r    googlecloudsdk.calliope.conceptsr	   (googlecloudsdk.command_lib.util.conceptsr
   r   r   r   r#   r+   ArgumentPOSITIONAL_PARENT_NAME_FLAGPARENT_NAME_FLAGFINDING_NAME_FLAGWORKFLOW_TYPE_FLAG	ETAG_FLAGYAMLFileContents!REMEDIATION_INTENT_FROM_FILE_FLAGUPDATE_MASK_FLAGGIT_CONFIG_FILE_PATH_FLAGORG_ID_FLAGROOT_DIR_PATH_FLAGr   r   r   <module>rD      st   D &  % ' / ( 5 D #mm
>  ==
>	  MM
a	  ]])	2	  MM 
E	 %)MM
-		%	%	'% ! ==
(	  !MM
 		%	%	'  mm	0 ]]
/  r   