How to extract all the key value pairs from properties files #5321
-
| Hello! Is there a way to export all the property values and their location via codeql or is it better to do it via bash script? | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            aeisenberg
          
      
      
        Mar 4, 2021 
      
    
    Replies: 1 comment 4 replies
-
| Sure, you can do this in codeql. Something like this will grab all key value pairs from   | 
Beta Was this translation helpful? Give feedback.
                  
                    4 replies
                  
                
            
      Answer selected by
        sbilello
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Sure, you can do this in codeql. Something like this will grab all key value pairs from
something.properties. However, depending on what your use case is, it might be simpler just to use bash.