<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question ServiceGraph Connector for AWS don't fetch resources in Community Central forum</title>
    <link>https://www.servicenow.com/community/community-central-forum/servicegraph-connector-for-aws-don-t-fetch-resources/m-p/3059866#M990</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Anyone have any idea why ServiceGraph connector for AWS does not fetch all the resources on every run? For example Lambda functions and s3 buckets are fetched occasionally. Sometimes all of them are fetched and sometimes none?&lt;/P&gt;&lt;P&gt;And is there any way to enforce&amp;nbsp;ServiceGraph connector for AWS to fetch all resources available on AWS side? The documentation I've found is somewhat sketchy.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Sep 2024 12:53:35 GMT</pubDate>
    <dc:creator>Jarkko</dc:creator>
    <dc:date>2024-09-30T12:53:35Z</dc:date>
    <item>
      <title>ServiceGraph Connector for AWS don't fetch resources</title>
      <link>https://www.servicenow.com/community/community-central-forum/servicegraph-connector-for-aws-don-t-fetch-resources/m-p/3059866#M990</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Anyone have any idea why ServiceGraph connector for AWS does not fetch all the resources on every run? For example Lambda functions and s3 buckets are fetched occasionally. Sometimes all of them are fetched and sometimes none?&lt;/P&gt;&lt;P&gt;And is there any way to enforce&amp;nbsp;ServiceGraph connector for AWS to fetch all resources available on AWS side? The documentation I've found is somewhat sketchy.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 12:53:35 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/servicegraph-connector-for-aws-don-t-fetch-resources/m-p/3059866#M990</guid>
      <dc:creator>Jarkko</dc:creator>
      <dc:date>2024-09-30T12:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceGraph Connector for AWS don't fetch resources</title>
      <link>https://www.servicenow.com/community/community-central-forum/servicegraph-connector-for-aws-don-t-fetch-resources/m-p/3062256#M1015</link>
      <description>&lt;P&gt;The solution found. We just need to set&amp;nbsp;last_run_datetime&lt;SPAN&gt;&amp;nbsp;to empty value for datasources with name starting with SG-AWS- in sys_data_source table to enforce&amp;nbsp;ServiceGraph connector for AWS fetch all available AWS resources.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If last_run_datetime is set for datasource it fetches only aws resources added/modified after last_run_datetime - 2 .&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;last_run_datetimes&amp;nbsp;&lt;/SPAN&gt;are not accessible from UI, but we can nullify it with the following background script&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;var gr = new GlideRecord('sys_data_source');
gr.addEncodedQuery('nameSTARTSWITHSG-AWS-');
gr.query(); while(gr.next()){
    gr.last_run_datetime = ''; 
    gr.update();
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 13:54:50 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/servicegraph-connector-for-aws-don-t-fetch-resources/m-p/3062256#M1015</guid>
      <dc:creator>Jarkko</dc:creator>
      <dc:date>2024-10-02T13:54:50Z</dc:date>
    </item>
  </channel>
</rss>

