question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make it easier to run a specific audit category from CLI

See original GitHub issue

My use case is to run only the SEO audits from the LH CLI. Disabling non-SEO audits would help speed up the test. Additionally, disabling irrelevant things like network throttling could help with audit performance.

Strawman proposal: --audit_categories=seo, --audit_categories=seo,perf

cc @kdzwinel

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
patrickhulcecommented, Feb 8, 2018

love it, this would be fixed by the broader effort to unify the config and CLI settings which I’ve got a branch in progress to do 😃 it would look like

--only-categories=seo --only-categories=performance --only-audits=works-offline which would be equivalent of

{
  extends: 'lighthouse:default',
  settings: {
    onlyCategories: ['seo', 'performance'],
    onlyAudits: ['works-offline'],
  }
} 
0reactions
patrickhulcecommented, Feb 28, 2019

@lluia This is a built-in feature of yargs that does the repeated categories that way. How about you file an issue with the feature request for discussion, but I think we’d love your help 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using AuditPol to audit Windows users and set policies
The AuditPol /List command makes it possible to check users, auditing categories, and auditing subcategories as described in the following ...
Read more >
Command line tool for listing audit policy settings - Server Fault
I think the answer may be: auditpol /get /category:* (administrative command promt required).
Read more >
Command line process auditing | Microsoft Learn
Double-click Audit: Force audit policy subcategory settings (Windows Vista or later) to override audit policy category settings, and then click ...
Read more >
How to continuously audit and limit security groups with AWS ...
In this post, we explored how Firewall Manager can help you more easily manage the VPC security groups in your AWS environments from...
Read more >
Configure audit policies for the domain controllers (DC)
To access AD Logga functionality you must activate specific audit policies. ... auditpol /get /category:"policy change,account management,ds access".
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found