Files
osmedeus/test/testdata/sample-jsonl-output/cusom-content-discovery.jsonl
T
j3ssie b0736ab0ed feat: add skip() function and fuzzy module exclusion support
- Add skip() function to terminate remaining steps in current module while continuing to next module, with optional message parameter
- Implement isFuzzyModuleExcluded() for substring-based module filtering in ExecuteFlow
- Add fuzzy_exclude_modules CLI flag (-X) to both run and scan commands for flexible module exclusion
- Handle ErrSkipModule sentinel error throughout executor (executeStep, executeStepsDAG, ExecuteModule, ExecuteFlow) with proper status propagation
- Update function registry and Goja runtime to register skip() function
- Add comprehensive unit tests for skip() behavior, SkipModuleError, and fuzzy module matching
- Update snapshot tests to use generic example.com instead of shopee.vn
2026-02-13 15:56:02 +07:00

9 lines
7.9 KiB
JSON

{"timestamp":"2026-02-13T15:21:24+07:00","url":"http://cdn.doitac.example.com/common/","input":"http://cdn.doitac.example.com/common/","scheme":"http","host":"cdn.doitac.example.com","port":"80","path":"/common/","method":"GET","status_code":200,"content_length":0,"content_type":"text/plain","webserver":"UploadServer","header":{"Accept-Ranges":"bytes","Access-Control-Allow-Origin":"*","Access-Control-Expose-Headers":"*","Age":"0","Cache-Control":"public,max-age=3600","Content-Length":"0","Content-Type":"text/plain","Date":"Fri, 13 Feb 2026 08:21:22 GMT","Etag":"\"d41d8cd98f00b204e9800998ecf8427e\"","Last-Modified":"Fri, 27 Aug 2021 12:16:34 GMT","Server":"UploadServer","X-Goog-Generation":"1630066594545907","X-Goog-Hash":"crc32c=AAAAAA==","X-Goog-Metageneration":"1","X-Goog-Storage-Class":"STANDARD","X-Goog-Stored-Content-Encoding":"identity","X-Goog-Stored-Content-Length":"0","X-Guploader-Uploadid":"AJRbA5WZX4sT7V-H95LeV0UP-rnC9J4JB9rKdyGa8IIc8uTiafoZfrbMghIxr7kCtzlg4ZiU"},"words":0,"lines":0,"found_by":"short-dir","depth":1,"type":"directory"}
{"timestamp":"2026-02-13T15:21:32+07:00","url":"http://pciidk.example.com/monitor","input":"http://pciidk.example.com/monitor","scheme":"http","host":"pciidk.example.com","port":"80","path":"/monitor","method":"GET","status_code":200,"content_length":18,"content_type":"text/plain","webserver":"Kestrel","header":{"Cache-Control":"no-cache","Content-Type":"text/plain; charset=utf-8","Date":"Fri, 13 Feb 2026 08:21:30 GMT","Expires":"0","Pragma":"no-cache","Server":"Kestrel","Strict-Transport-Security":"max-age=31536000; preload;","Vary":"Accept-Encoding"},"words":1,"lines":1,"found_by":"long-file-no-ext","depth":1,"type":"file"}
{"timestamp":"2026-02-13T15:22:50+07:00","url":"https://cdn.doitac.example.com/common/","input":"https://cdn.doitac.example.com/common/","scheme":"https","host":"cdn.doitac.example.com","port":"443","path":"/common/","method":"GET","status_code":200,"content_length":0,"content_type":"text/plain","webserver":"UploadServer","header":{"Accept-Ranges":"bytes","Access-Control-Allow-Origin":"*","Access-Control-Expose-Headers":"*","Age":"86","Alt-Svc":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000","Cache-Control":"public,max-age=3600","Content-Length":"0","Content-Type":"text/plain","Date":"Fri, 13 Feb 2026 08:21:22 GMT","Etag":"\"d41d8cd98f00b204e9800998ecf8427e\"","Last-Modified":"Fri, 27 Aug 2021 12:16:34 GMT","Server":"UploadServer","X-Goog-Generation":"1630066594545907","X-Goog-Hash":"crc32c=AAAAAA==","X-Goog-Metageneration":"1","X-Goog-Storage-Class":"STANDARD","X-Goog-Stored-Content-Encoding":"identity","X-Goog-Stored-Content-Length":"0","X-Guploader-Uploadid":"AJRbA5WZX4sT7V-H95LeV0UP-rnC9J4JB9rKdyGa8IIc8uTiafoZfrbMghIxr7kCtzlg4ZiU"},"words":0,"lines":0,"found_by":"short-dir","depth":1,"type":"directory"}
{"timestamp":"2026-02-13T15:23:35+07:00","url":"https://openapi.livestream.example.com/live","input":"https://openapi.livestream.example.com/live","scheme":"https","host":"openapi.livestream.example.com","port":"443","path":"/live","method":"GET","status_code":301,"content_length":40,"content_type":"text/html","location":"/live","webserver":"SGW","header":{"Connection":"keep-alive","Content-Length":"40","Content-Type":"text/html; charset=utf-8","Date":"Fri, 13 Feb 2026 08:23:35 GMT","Location":"/live","Server":"SGW"},"words":3,"lines":3,"found_by":"redirect","depth":1,"type":"file"}
{"timestamp":"2026-02-13T15:23:36+07:00","url":"https://openapi.livestream.example.com/live/","input":"https://openapi.livestream.example.com/live/","scheme":"https","host":"openapi.livestream.example.com","port":"443","path":"/live/","method":"GET","status_code":301,"content_length":40,"content_type":"text/html","location":"/live","webserver":"SGW","header":{"Connection":"keep-alive","Content-Length":"40","Content-Type":"text/html; charset=utf-8","Date":"Fri, 13 Feb 2026 08:23:35 GMT","Location":"/live","Server":"SGW"},"words":3,"lines":3,"found_by":"long-dir","depth":1,"type":"directory"}
{"timestamp":"2026-02-13T15:24:15+07:00","url":"http://e-procurement.example.com/static","input":"http://e-procurement.example.com/static","scheme":"http","host":"e-procurement.example.com","port":"80","path":"/static","method":"GET","status_code":200,"content_length":16640,"content_type":"text/html","webserver":"SGW","header":{"Cache-Control":"no-cache,no-store","Connection":"keep-alive","Content-Type":"text/html; charset=utf-8","Date":"Fri, 13 Feb 2026 08:24:15 GMT","Etag":"W/\"8a12d89b7752b67e85954dd17b51bef1\"","Last-Modified":"Wed, 28 Jan 2026 12:42:02 GMT","Originalmd5":"8a12d89b7752b67e85954dd17b51bef1","Server":"SGW","Vary":"Accept-Encoding","X-Cache-Status":"STALE","X-Cdn":"staticcache","X-Origin":"uss","X-Ratelimit-Limit":"1250","X-Ratelimit-Remaining":"1236","X-Request-Id":"36119c1c-70c1-4b89-8f9b-6619540a55ef","X-Uri":"/shopee-scs-live-sg/static/index.html","X-Via":"52.199"},"words":949,"lines":106,"found_by":"observed-no-ext","depth":1,"type":"file","remarks":["Modern-App"]}
{"timestamp":"2026-02-13T15:24:16+07:00","url":"http://e-procurement.example.com/static/","input":"http://e-procurement.example.com/static/","scheme":"http","host":"e-procurement.example.com","port":"80","path":"/static/","method":"GET","status_code":200,"content_length":16640,"content_type":"text/html","webserver":"SGW","header":{"Cache-Control":"no-cache,no-store","Connection":"keep-alive","Content-Type":"text/html; charset=utf-8","Date":"Fri, 13 Feb 2026 08:24:15 GMT","Etag":"W/\"8a12d89b7752b67e85954dd17b51bef1\"","Last-Modified":"Wed, 28 Jan 2026 12:42:02 GMT","Originalmd5":"8a12d89b7752b67e85954dd17b51bef1","Server":"SGW","Vary":"Accept-Encoding","X-Cache-Status":"HIT","X-Cdn":"staticcache","X-Origin":"uss","X-Ratelimit-Limit":"1250","X-Ratelimit-Remaining":"1236","X-Request-Id":"36119c1c-70c1-4b89-8f9b-6619540a55ef","X-Uri":"/shopee-scs-live-sg/static/index.html","X-Via":"52.199"},"words":949,"lines":106,"found_by":"observed-dir","depth":1,"type":"directory","remarks":["Modern-App"]}
{"timestamp":"2026-02-13T15:24:32+07:00","url":"http://e-procurement.example.com/oauth","input":"http://e-procurement.example.com/oauth","scheme":"http","host":"e-procurement.example.com","port":"80","path":"/oauth","method":"GET","status_code":200,"content_length":4713,"content_type":"text/html","title":"SCS Open Platform Authorization","webserver":"SGW","header":{"Cache-Control":"no-cache,no-store","Connection":"keep-alive","Content-Type":"text/html; charset=utf-8","Date":"Fri, 13 Feb 2026 08:24:32 GMT","Etag":"W/\"43e9aea279110e2f8a086697c0da1c14\"","Last-Modified":"Wed, 28 Jan 2026 12:42:01 GMT","Originalmd5":"43e9aea279110e2f8a086697c0da1c14","Server":"SGW","Vary":"Accept-Encoding","X-Cache-Status":"STALE","X-Cdn":"staticcache","X-Origin":"uss","X-Ratelimit-Limit":"1250","X-Ratelimit-Remaining":"1219","X-Request-Id":"bd43f4c6-38c1-4221-996a-8cac52602be7","X-Uri":"/shopee-scs-live-sg/oauth/index.html","X-Via":"44.5"},"words":118,"lines":1,"found_by":"long-file-no-ext","depth":1,"type":"file","remarks":["Modern-App"]}
{"timestamp":"2026-02-13T15:24:45+07:00","url":"http://e-procurement.example.com/oauth/","input":"http://e-procurement.example.com/oauth/","scheme":"http","host":"e-procurement.example.com","port":"80","path":"/oauth/","method":"GET","status_code":200,"content_length":4713,"content_type":"text/html","title":"SCS Open Platform Authorization","webserver":"SGW","header":{"Cache-Control":"no-cache,no-store","Connection":"keep-alive","Content-Type":"text/html; charset=utf-8","Date":"Fri, 13 Feb 2026 08:24:44 GMT","Etag":"W/\"43e9aea279110e2f8a086697c0da1c14\"","Last-Modified":"Wed, 28 Jan 2026 12:42:01 GMT","Originalmd5":"43e9aea279110e2f8a086697c0da1c14","Server":"SGW","Vary":"Accept-Encoding","X-Cache-Status":"STALE","X-Cdn":"staticcache","X-Origin":"uss","X-Ratelimit-Limit":"1250","X-Ratelimit-Remaining":"1236","X-Request-Id":"2afbd034-956c-4cfc-bc71-41a3bf90e425","X-Uri":"/shopee-scs-live-sg/oauth/index.html","X-Via":"52.199"},"words":118,"lines":1,"found_by":"long-dir","depth":1,"type":"directory","remarks":["Modern-App"]}