Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Cloudaware maintains a complete application catalog with full cloud resource inventory for each application. FinOps teams often customize the application attributes using additional fields such as Product or Product Line in order to filter and group spending not only by Business Application but also by Business Product or Product Line. Using CLI, FinOps engineers can quickly retrieve and update application attributes and even link applications to other entities in CMDB.

Code Block
languagenone
# Use Child Relationship Names in sub-queries;
# Find a necessary Child Relationship Name by executing the following command for a Parent object: 

sfdx force:schema:sobject:describe -s <Parent Object's API Name> -u <Org Alias from Authentication>

# Use the "childRelationships" key in the result to find all Child Relationship Names ("relationshipName") across all listed child objects;

# Example of querying cloud inventory of a specific Application:

sfdx force:data:soql:query -q "SELECT CA10__applicationName__c, (SELECT Name FROM CA10__AWS_EC2_Instances__r), (SELECT Name FROM CA10__AWS_S3_Buckets__r), (SELECT Name FROM CA10__AWS_EBS_Snapshots__r) FROM CA10__CaApplicationTier__c WHERE CA10__applicationName__c = '<specific application name>'" -u <Org Alias from Authentication>

Get a list of current and past public IPs across multiple cloud providers

...